This project has moved and is read-only. For the latest updates, please go here.

Retrieve SP List Data cross domain using spservices ?

Apr 21, 2015 at 9:07 AM
Hi everybody, i am brand new to this forum fighting this issue for days now. Hope there is anybody out there who can light it up for me :)
I have to retrieve data from an external sp-intranet site. i am using sp2010 ready to migrate to '13 within the next couple of weeks.
Please advise !! Thanks in advance..
Apr 21, 2015 at 2:30 PM
I am able to do cross domain web services requests by adding the following line of code at the top of my code module. This may not work in all cases. The resource has to be configured to allow CORS requests.
$.support.cors = true;  //For Cross-Origin Resource Sharing