Cloud Storage Integrator 2016 ActiveX Edition
Cloud Storage Integrator 2016 ActiveX Edition
Questions / Feedback?

GetXAttribute Method

Retrieve the value at the specified XPath in the SOAP response.

Syntax

sharepointcontrol.GetXAttribute Xpath

Remarks

The GetXAttribute method allows you to access a specific part of the SOAP response, through XPath.

For instance, to obtain the title of the first subsite, you could do the following:

SPSite.listSubSites();
Print SPSite.getXAttribute("/soap:Envelope/soap:Body/GetWebCollectionResponse/GetWebCollectionResult/Webs/Web[1]/@Title");

The contents of the SOAP response can be retrieved through the SOAPResponse configuration setting.

 
 
Copyright (c) 2019 /n software inc. - All rights reserved.
Cloud Storage Integrator 2016 ActiveX Edition - Version 16.0 [Build 7239]