1
Reply

SPServices() not fetching all pages from page Library

Rupali Shinde

Rupali Shinde

Nov 19 2015 3:42 AM
323
Below source code fetch only pages created by user, who is login into site.
i want to fetch all pages from pages library ??? how to do that ??
 
$().SPServices({
operation: "GetListItems",
async: false,
listName: "Pages",
CAMLViewFields: "<ViewFields><FieldRef Name='PublishingContactEmail' /><FieldRef Name='PublishingContact' /><FieldRef Name='PageOwner' /><FieldRef Name='FileRef' /></ViewFields>",
CAMLQueryOptions: "<QueryOptions><ExpandUserField>False</ExpandUserField></QueryOptions>",
completefunc: function (xData, Status) {
}
});

Answers (1)