0

I want to add items in bulk (around 13000 entries) into the SharePoint list using the JavaScript. For this I have already user CSOM Client Context Batch insert code and also I tried the SP.Services() for bulk entries. To complete the entire process, it takes average 13/14 minutes and that is too much. I want to speed up the process, is there any other way that I can achieve this faster.

FYI :- this is not the 1 time process, this can be multiple times.

Please suggest.

1 Answer 1

0

SharePoint Online (and on-premises SharePoint 2016 and later) and the Office 365 APIs implement the OData $batch query option, you can use it to improve the performance of your add-in by combining many operations into a single request to the server and a single response back.

The following articles for your reference:

Make batch requests with the REST APIs

sp-o365-rest

2
  • I tried the above link and try to execute the code, but there is no difference in time. Jun 6, 2019 at 5:48
  • could you provide your entire code?
    – Kally_MSFT
    Jun 11, 2019 at 6:38

Your Answer

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

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