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

New Post: SPServices v2013.02 Fails with error currentContext.thisSite is undefined

$
0
0
Paul:

It's a matter of checking to see if the value for currentContext.thisSite ends in a slash or not correctly.

In the case of 2007 we can use the L_Menu_BaseUrl JavaScript variable where I've been making a call to WebUrlFromPageUrlResult. That value doesn't have a trailing slash.

Too many versions to test!

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>