Quantcast
Viewing all articles
Browse latest Browse all 6517

New Post: SPServices - Differing Web Apps, Differing results

Marc,

I was finally able to get the SPGetCurrentUser working. After a couple of hours running line-by-line through the debugger, it occurred to me that it wasn't getting to the userdisp.aspx page. The webURL arguement is optional, and in this case I'm working from a single site collection - so it should have picked it up, but wasn't. As soon as I added the webURL arguement it worked.
var usrFA = $().SPServices.SPGetCurrentUser({webURL: "http://this.intranet.ofours", fieldName: "Department", debug: false});
I'll leave that for you to sort out.

Thanks

Viewing all articles
Browse latest Browse all 6517

Trending Articles



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