Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [requestexecutor]

The Request Executor library enables cross-domain client-side calls.

0
votes
0answers
19 views

Error while uploading a file in a provider hosted app using SP.RequestExecutor.js

I am trying to make cross domain calls and use REST API in SharePoint provider hosted app but to no luck. Below are few things i tried. I have tried implementing the following sample code to validate ...
0
votes
1answer
1k views

REST Service API executor.executeAsync Call Ends in Failure Function in Sharepoint Hosted App

Any Answers Will Help me to Forward and Gain Knowledge in SharePoint Development While i am Trying to get the list Items Using Rest API Calls in SharePoint Hosted App Using Below Function function ...
1
vote
1answer
810 views

Sharepoint REST api: wasn't $.Ajax supposed to make asynchronous calls?

I don't understand why my code is running synchronous. At least it is what the attached print-screen shows. Are my assumptions correct? <script src="../SiteAssets/js/lib/jquery-2.2.0.min.js">&...
1
vote
1answer
1k views

http:<server>/_api/web/webs 401 unauthorized

i'm using a jquery script embedded in a SharePoint page. i am able to load the results of a /_api/web/webs call to REST as myself (site collection admin). However, anyone that visits the page that is ...
2
votes
0answers
208 views

SP.RequestExecutor.js target origin does not match window origin

Hi I'm trying to load the SP request executor as per the Microsoft samples (inside a provided hosted app) SP2013 I have this error: Failed to execute 'postMessage' on 'DOMWindow': The target origin ...
4
votes
0answers
436 views

Microsoft Graph: Get preview image

I created a SharePoint-Add-In (provider hosted) which serves as a proxy for retrieving information from Microsoft Graph. From the client I issue AJAX requests to my MVC-based web service which in turn ...
1
vote
0answers
502 views

SharePoint Online: Microsoft.SharePoint.Client.ServerException: Ending value cannot be less than starting value

I am using a Windows Forms Application to create a massive amount of items in various lists inside a SharePoint Online site based on information that the application gets from a JSON file. The ...
2
votes
2answers
507 views

How to update multiple items in sharepoint list online using javascript on SP 2013 Addon

I have used the below mentioned approach to update multiple items in SharePoint 2010 list, How to update list items using JavaScript Object Model in SP 2013 How to update multiple items in ...
2
votes
1answer
112 views

How to remove sp.RequestExecutors.js console.logs?

I have sea of logs from this file in console. Little bit annoying to find my own console.logs in it, and also console lags a bit. How can I disable it? Maybe in SharePoint online settings?
4
votes
1answer
2k views

Update list item using SHarePoint REST API not working

I am facing issues with updating a simple list item using SharePoint REST API. I have gone through all the blogs to get a solution but the result is same. When ever i execute the update list item ...
2
votes
2answers
193 views

This app has reached its outbound request limit

I am getting "This app has reached its outbound request limit" error when do more than two simultaneous calls using SP.WebProxy in my SP-hosted app. Do you know whether it is possible to change this ...
0
votes
1answer
799 views

Unauthorized Error using web api with REST in different site collection the add-in isn't deployed at

I'm trying to write a sharepoint 2013 add-in that reads certain list info from a bunch of site collections i get first and write into an array, however whenever i try to access any sitecollection but ...
1
vote
2answers
7k views

Cross Domain GET Request with SP.RequestExecutor

I'm trying to load data of a SharePoint App into my new SharePoint App and got some problems here. At first I tried to use to solve it with Ajax, but it doesn't worked and I've read that I could use ...
1
vote
1answer
230 views

Why is CORS not used for cross-domain requests by default? [closed]

In order to be able to do cross-domain AJAX requests, SharePoint 2013 introduced SP.RequestExecutor.js library which uses a hidden iframe to do the request. This looks hacky (although I'm not sure if ...