Rupali Shinde

Rupali Shinde

  • NA
  • 5.4k
  • 1.1m

SPServices() not fetching all pages from page Library

Nov 19 2015 3:42 AM
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)