Quantcast
Viewing all articles
Browse latest Browse all 6517

New Post: Heavy load js - SP2010 - long time running script - freeze browser

How are you sending your updates to the server (the UpdateListItems)? one at a time? If so, you will want to build up your own XML for UpdateListItems and do the updates in batches (ex. 100 at a time)
See this post where I provided a function that allows you to throttle batch updates once you build up an array of updates: https://spservices.codeplex.com/discussions/440360 . That post also gives you some design tips on how your program should be structure to give you the optimal results.

Note that with very large set of updates, you really can't avoid locking up the UI unless you use Web Workers, which unfortunately is not easy and not supported on older browsers.

/Paul.

Viewing all articles
Browse latest Browse all 6517

Trending Articles