SPServices GetListItems响应太慢 [英] SPServices GetListItems response too slow

查看:63
本文介绍了SPServices GetListItems响应太慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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


最好的问候,


Dennis


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,

Dennis


这篇关于SPServices GetListItems响应太慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆