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

Commented Unassigned: Does $().SPServices.SPGetCurrentSite work with Friendly urls ? [10251]

$
0
0
Hi Marc

I have a SP2013 site with a friendly url http://www.somewhere.com/op-procedures
When in this site, I call $().SPServices.SPCurrentSite() and I get the response back http://www.somewhere.com .

Which does not seem right.

The only thing I can think of is that the javascript is loaded by the master page as it is used all of the place.

But I cannot believe that this is the problem.

It should work should it not ?

I have tried this on SPServices.2013.01 and SPServices.2014.01

Regards

Nigel
Comments: That's a tricky one. I haven't really looked at friendly URLs. However, isn't http://www.somewhere.com technically the correct answer? Or are you looking for the non-friendly location for the page? (This probably should have gone into the discussions to start.) M.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



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