SPServices for Reader Access

Dec 8, 2012 at 11:52 AM

Hi ,


in my current site, if i call any spservice method via reader access, it saying object doesnot support this property.but the same method working@same page working for different user.so i validated all the methods,even getcurrentsite(),getcurrentuser() none is working for reader access and throwing error.




Dec 8, 2012 at 4:44 PM


My guess is that the Readers can't access the script files whereever you've stored them.


Dec 8, 2012 at 4:57 PM

Thanks Sympmarc for quick response,

Wel,i think i need to explain bit more about my current scenarios,

Actually i have  stored following JS Files in layouts/ABC/Scripts folder.

1.Dispform.js (MyCustom JS)

2. JQuery JS

3.SPService JS

i call Jquery & SP Service methods from DispForm.js

For Reader : i got exception while accessing SPService methods from DispForm.js. if i commenting SPService methods , JQuery  method works from DispForm.js

For SCA : It just works

My Asslumption here is, if reader doesn't have access, then JQuery also should not work. but its getting called from DispForm.js

Hope i have explained better than before :)



Dec 8, 2012 at 5:39 PM

The order in which you have your script file references matters. You should reference them in the order: jQuery, SPServices, DispForm.js.

It may be that your master page already references jQuery, and that's why that works.

Try logging in as a Reader and accessing each of the .js files directly in the address bar.


Dec 8, 2012 at 5:45 PM

Thanks Symparc, i got clue from your answer, surely i do the test once i got access to environment and notify the results

Dec 10, 2012 at 3:09 PM

Thanks Symparc, its working :)

Dec 10, 2012 at 3:12 PM