3

And if I need to make the same count but with some field filters?

Is the best approach populate a list using SPSiteDataQuery and then make the report from that same list?

spregards

  • 1
    Do you have to do it once or many times? if it's once, a simple recursive powershell script can do the job. – Steve B Jun 22 '12 at 12:13
  • I want to have it always displayed and reported. I try via Report Builder but that way comes up to be restrictive in terms of filtering by content types fields. Now I'm inclined to populate a list using SPSiteDataQuery and then make the report from that list. – fallout Jun 22 '12 at 12:50
3

If you're talking about using the Object Model, then I'd recommend SPSiteDataQuery.

It has many options for filtering the results, including by list template (e.g. document library).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.