Try our conversational search powered by Generative AI!

Total page count in multiple categories

Vote:
 

Hi!

I need to get the total page count in multiple categories. How can I do this without using FindPagesWithCriteria for each category?
Is there a way to use a "or equal"-criteria with the FindPagesWithCriteria and pass in all categoryid's at once??

All suggestions are appreciated!

Stig

#41541
Jul 09, 2010 23:31
Vote:
 

I'd see if I could use LINQ to PageData for this: http://labs.episerver.com/en/Blogs/Johano/Dates/2010/6/Querying-EPiServer-PageData-using-LINQ/.

Frederik

#41544
Jul 11, 2010 11:13
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.