1
Answer

SPServices() not fetching all pages from page Library

Rupali Shinde

Rupali Shinde

9y
343
1
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)