AnsweredAssumed Answered

How to get current Site in Share Webscript

Question asked by vamirr on Jul 17, 2012
Latest reply on Mar 20, 2017 by nwali
I have a Share webscript that needs to know what site I'm currently on (if any). 

In 3.4 this used to work:

profile =["site-profile"];
currentSite = profile.shortName;

Since upgrading to 4.0.1, the above is no longer operable.  The docs do not show a similar method for doing so.