I am a new user of SharePoint and I am currently developing a SharePoint app. This app is an externally hosted app, so it is not on the same domain than the farm. In this app, I use the REST API to access to a list stored in the Sharepoint farm but it caused an error.

"No 'Access-Control-Allow-Origin' header is present on the requested resource"

The first time I saw this, I searched how to avoid it. I found on the net I have to make a CORS request. So I tried, but the problem is still the same.

Can you tell me, if it is possible to access to a list from the other domain? And if not, the other way to dot what I want.

  • I found the solution. I just used the SP.RequestExecutor.js script. If you want more informations, look at here May 30, 2017 at 13:47


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.