Try our conversational search powered by Generative AI!
AI OnAI Off
PageDataCollection pages = GetChildren(somePageLink);
//remove ItemProduct pages here
pageList.PageLink = PageReference.EmptyReference;
pageList.DataSource = pages;
2. Add a filter to a pageList, probably a better solution for code reuse but results in the same logic. More information about building custom or using EPiServer filters can be found at:
http://www.episerver.com/templates/faq.aspx?id=3404