SPServices GetListItems响应太慢 [英] SPServices GetListItems response too slow
问题描述
Hello Team,
当我尝试使用SPServices Listitems时,如果列表返回超过5000条记录,它会降低性能
为了提高性能,我们可以分页从在SharePoint 2010中,我们可以使用REST API(listdata.svc)或JSOM来获取列表项和分页列表项。
以下文章包含代码 供您参考:
SharePoint JSOM列表分页(分页)
https://code.msdn.microsoft.com/office/SharePoint-JSOM-list-5104ca92
从查询返回的分页列表项
http://www.riptutorial.com/sharepoint/example/22037/paging-list-items-returned-from-a-query
最好的问候,
Hello Team,
while I try to user SPServices Listitems it is slowing down performance if list returns more than 5000 records
Hi,
To increase the performance, we can paging list items returned from a query.
In SharePoint 2010, we can use REST API(listdata.svc) or JSOM to get list items and paging list items.
The following articles with code for your reference:
SharePoint JSOM list pagination (paging)
https://code.msdn.microsoft.com/office/SharePoint-JSOM-list-5104ca92
Paging list items returned from a query
http://www.riptutorial.com/sharepoint/example/22037/paging-list-items-returned-from-a-query
Best Regards,
这篇关于SPServices GetListItems响应太慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!