Reminder to self: CAML is case-sensitive!
Been struggling with an SPSiteDataQuery that was not returning anything. Needed to search all publishing pages so I used the following Lists setting:
Except it got coded as:
which returned no results. Worked fine after changing "lists" to "Lists".
Other notes:
Been struggling with an SPSiteDataQuery that was not returning anything. Needed to search all publishing pages so I used the following Lists setting:
<Lists ServerTemplate='850' Hidden='TRUE' />
Except it got coded as:
<lists ServerTemplate='850' Hidden='TRUE' />
which returned no results. Worked fine after changing "lists" to "Lists".
Other notes:
- How to query all lists that use a certain content type in SharePoint?
- Get all Pages in a Publishing site in Sharepoint
- How can use API to get all Publishing pages in the site collection using a specific Content Type?
- .NET : Programmatically Read A Publishing Page in SharePoint
No comments:
Post a Comment