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.
AI OnAI Off
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.
HierarchicalPageLoader hierarchicalPageLoader = new HierarchicalPageLoader();
hierarchicalPageLoader.PageLink = PageReference.RootPage;
hierarchicalPageLoader.AccessLevel = AccessLevel.Read;
foreach (PageHierarchyData pageHierarchyData in hierarchicalPageLoader.HierarchicalSelect(null))
{
/* do some processing of pageHierarchyData.Page*/
}
We are currently porting a some functionality from 4.x to 5.x and we have come across a few deprecated classes. Hence we're looking for some substitutes that provide the same functionality. Given the following lines of code
What would be the best alternatives in 5.x? The sdk hints at using the HierarchicalPageLoader instead but we don't see how it provides the exact same functionality...
Any advice is appreciated!!
Cheers