Typically, when requesting SharePoint pages we do not want to include templates, just normal pages. When saving a SharePoint page as a template, this is noted in a property called OData__SPSitePageFlags . With this information we can easily exclude templates by adding the following to the CAML query:
1 2 3 4 |
<Neq> <FieldRef Name="_SPSitePageFlags" /> <Value Type="Text">Template</Value> </Neq> |