volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

GetCompletePageTree vs. FindPagesWithCriteria

I'm wondering what's the best practice. If I have a tree with let's say 300 pages and I want to get 50 of them of a certain PageType. What should I use, GetCompletPageTree and the filter out the PageType or use FindPagesWithCriteria and send in the pagetype as a criteria? I thought the findpageswithcriteria should be better, but I've done some (uncertain) testing and it seems GetCompletPageTree and filter leads to fewer DataFactoryReads in perfmon.
#12908
Jan 24, 2007 12:33
* 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.