Try our conversational search powered by Generative AI!
AI OnAI Off
PageData pd = DataFactory.Instance.GetPage(new PageReference(3));
PageDataCollection children = DataFactory.Instance.GetChildren(pd.PageLink);
// And then filter like this:
FilterForVisitor.Filter(children);
hi
Read some post about the problem with getchildern returns all pages regardless of access or publish,
what is the correct method ( or at least the correct/best/fastest) to filter these results.
most of the time i need the access right to kick in but most of the time i don't want the publish