Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

How to Get Web by its ID or by URL in CSOM Javascript?

$
0
0

I have created an App Part and in that I have to get web by its ID or from URL inserted by user as App Part Property. So how can I achieve it?

NOTE : Currently I am doing as following.

     var CurrentContext = new SP.ClientContext.get_current();
       var  CurrentWeb = CurrentContext.get_web();


Ritesh Goswami


Viewing all articles
Browse latest Browse all 25064

Trending Articles



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