I've tried to deploy SPServices library into a SP Add-in in a developer site collection, but I'm getting the attached error.


  • The add-in consumes data from another SiteCollection (a)
  • I've tested it consuming the jquery.SPServices-2014.02.min.js both from the hostWeb (a) and from the rootWeb of the add-in web. The error persists
  • $.support.cors is set to true.


Is this unexpected? What do you recommend me to try?



try the cross domain library "SP.RequestExecutor.js", and you don't need to use SPServices now, as the REST API is quite good now. https://msdn.microsoft.com/en-us/library/office/fp179927.aspx

  • I've been using SP.RequestExecutor.js for a while. I was trying to implement SPServices to get ListItem versions, but gave up for now, since it's not making cors. tks anyway! – egidiocs Apr 29 '16 at 3:06
  • I haven't try this, if you use $.ajax({ url: "../_api/SP.WebProxy.invoke", type: "POST", like the sample here: blog.ch.atosconsulting.com/… And include your site collection in the "Remote EndPoints", will this work? – Shawn Apr 29 '16 at 5:31
  • gonna try this, and feedback you. tks – egidiocs May 6 '16 at 13:55
  • What if you really want to use SPServices though? – Batman Aug 19 '16 at 1:03
  • You can have a look Marc D Anderson's blog, I'm not sure cross domain is supported. – Shawn Aug 23 '16 at 2:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.