Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

Updated Wiki: SiteDataGetWeb

$
0
0

Function

$().SPServices

Web Service

SiteData

Operation

GetWeb -> Called as SiteDataGetWeb

Example

This is an example fromJburnish in the Discussions.
$().SPServices({
  operation: "SiteDataGetWeb",
  async:false, 
  webURL: "/MySiteRelativeWebUrl",
  completefunc: function (xData, Status){//To show full return, create a div with the id of xmlMe//$("#xmlMe").text(xData.responseXML.xml); if(Status="Success") {var myWebId = $(xData.responseXML).find("WebID").text();        //returns full GUID with brackets which can then be used with 'GetListItems'        
    } else {
      alert("Status of web service call is "+ Status + ". Please try a different site relative webURL.");
    }    
  } //End complete function
}); //end Services call 

 


Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>