Hi,
I'm using VSTO (not VisualStudio full version) and part of the code is to delete a file from sharepoint
library. I found the following code sample for VB .Net, but I'm getting error that 'thisXDocument' is not declared.
What should I be importing into my code not to get the error?
Regards
thisXDocument.GetDOM("UpdateListItemsConfig").selectSingleNode("/UpdateListItemsConfig/SharepointDelete/Batch/Method/Field[@Name
= 'FileRef']").text = fileName
Dim deleteFileFromSharepoint As WebServiceAdapter2 =
CType(thisXDocument.DataAdapters("SharePointDelete"), WebServiceAdapter2)
deleteFileFromSharepoInteger.Submit()