Skip to main content

Questions tagged [promises]

Questions related to promise in terms of asynchronous calls

Filter by
Sorted by
Tagged with
3 votes
1 answer
4k views

Using promises with executeQueryAsync results in error

I'm pulling information from an Excel spreadsheet and trying to check the rows against data from a SharePoint list to find duplicates. The executeQueryAsync() in the itemIsDuplicate() function is ...
ams264s's user avatar
  • 45
7 votes
2 answers
2k views

Client Side Rendering with Async dependencies

In my display template I want to render a field in different ways based on the user's group membership. The information about the group membership comes from an async ajax call (jsom or rest) What I ...
Anatoly Mironov's user avatar
1 vote
1 answer
317 views

SP Online - Use promises in SharePoint-Hosted Add-in

I want to know what is the best way for using JS chaines promises in for SharePoint-Hosted Add-in. In my code: I have a pageLoad function that's getting data from SP and I want to execute pageLoad ...
Goshky's user avatar
  • 2,058