Pages

Tuesday 3 June 2014

Using SPSiteDataQuery with Content Types


I was working on a solution to find items by its content type throughout site collection using SPSiteDataQuery. I would suggest using Content Type ID  instead querying using content type name as I found it breaks when move to other UAT or Production environments.



No comments:

Post a Comment