我想从不同的网站集中阅读列表。有没有办法做到这一点?
问问题
4186 次
1 回答
4
这是使用 SPServices JQuery 2014.01 成功测试的示例:
$().SPServices({
operation: "GetListItems",
// Force sync so that we have the right values for the child column onchange trigger
async: false,
webURL: "/webs/sitecollection/site",
listName: "tst",
// Filter based on the currently selected parent column's value
// Only get the parent and child columns
CAMLViewFields: "<ViewFields><FieldRef Name='Title' /></ViewFields>",
// Override the default view rowlimit and get all appropriate rows
CAMLRowLimit: 0,
completefunc: function(xData, Status) {
window.alert(Status);
}
});
于 2014-07-26T21:02:28.743 回答