0
任何人都可以帮助我如何编辑列表中的项目与where子句。 例如,我想设置Title = Besmonte,其中当前标题= Rey在Sharepoint列表中编辑项目与过滤器
我可以编辑列表中的项目,但仍使用条目的ID。
请大家帮忙。
-- External Jquery
$().SPServices({
operation :"UpdateListItems",
async: true,
webURL: this.spSiteUrl,
valuepairs:[["Title", "Rey"]],
listName: "SampleList",
ID:1
});
-- SP library
\t <script src="../javascript/jquery-1.12.0.min.js"></script>
\t <script src="../javascript/jquery-migrate-1.2.1.min.js"></script>
\t <script src="../javascript/jquery.SPServices-2014.01.min.js"></script>
这实际上是我现在的做法。与此相关的问题是,当我们有一千个条目时,需要特别的时间加载。所以我正在寻找一种减少加载时间的方法。 –
看看(谷歌)在批处理命令。我已经看到它也可以使用SPServices,但我不确定是否可以在哪里有条件 – Verthosa
http://www.c-sharpcorner.com/UploadFile/d4da24/update-sharepoint-list-items-using-spservices-and -批量/ – Verthosa