<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>29 Jan 2021 14:30:42 Z</lastBuildDate><pubDate>29 Jan 2021 14:30:42 Z</pubDate><description>Hi, Im using Copy.xml (WSDL) of Sharepoint and Im trying to Copy a file from a Network drive to the SharePoint Library.&#13;
&#13;
I was able to import the Copy.xml wsdl to the webdev environment but I cannot get it to work.&#13;
Im using webdev 21.&#13;
&#13;
below is the code that I made, (I have to cover the paths and links):&#13;
&#13;
ls_FilePath is string = "\\*****\*****\******\TestFileSharepoint.docx"&#13;
ls_DestPath is string = "https://******.sharepoint.com/sites/******/WinDev"&#13;
ls_arrDestPath is an array of string&#13;
ArrayAdd(ls_arrDestPath,ls_DestPath &amp; "TestFileSharepoint.docx")&#13;
&#13;
l_copyresult1 is CopyResult&#13;
l_copyresult2 is CopyResult&#13;
l_arrCopyResult is array of CopyResult&#13;
ArrayAdd(l_arrCopyResult, l_copyresult1)&#13;
ArrayAdd(l_arrCopyResult, l_copyresult2)&#13;
&#13;
l_myFieldInfo is a FieldInformation&#13;
l_myFieldInfo:DisplayName = "Description"&#13;
l_myFieldInfo:Value = "Sample Description"&#13;
&#13;
l_arrMyfieldInfo is an array of FieldInformation&#13;
&#13;
ArrayAdd(l_arrMyfieldInfo,l_myFieldInfo)&#13;
L_buffFile is a Buffer = fLoadBuffer(ls_FilePath)&#13;
&#13;
&#13;
li is an unsigned int&#13;
&#13;
li = CopyIntoItems(ls_arrDestPath, ls_arrDestPath, l_arrMyfieldInfo, L_buffFile, l_arrCopyResult)&#13;
&#13;
&#13;
&#13;
IF li = 0 THEN&#13;
	 li_idx is int = 0&#13;
	&#13;
	FOR EACH l_myCopyresult OF l_arrCopyResult&#13;
		sL_opstring is string = li_idx +1&#13;
&#13;
		IF l_arrCopyResult[li_idx]:ErrorMessage = Null THEN&#13;
			Info("Successfully copied!")&#13;
		ELSE&#13;
			Info("Failed to copy!")&#13;
		END&#13;
		&#13;
	END&#13;
END&#13;
&#13;
&#13;
Anyone have a sample to begin with the integration?&#13;
&#13;
Thanks!</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68266-sharepoint-integration/read.awp</link><title>Sharepoint Integration</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
