Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
public static PageDataCollection GetNavChildren( PageReference parentPage )
{
PageDataCollection navChildren = new PageDataCollection();
foreach( PageData page in Global.EPDataFactory.GetChildren( parentPage ))
{
if( page.VisibleInMenu )
navChildren.Add( page );
}
return navChildren;
}
And you if you want to start from the site homepage, pass Configuration.StartPage as the input parameter.