Help shape the future of CMS PaaS release notes! Take this quick survey and share your feedback.
AI OnAI Off
Help shape the future of CMS PaaS release notes! Take this quick survey and share your feedback.
EPiServer.Filters.FilterRemoveNullValues filter = new EPiServer.Filters.FilterRemoveNullValues("PropertyName");
EPiServer.Core.PageDataCollection pdc = GetChildren(Global.EPConfig.StartPage );
filter.Filter(null, new EPiServer.Filters.FilterEventArgs(pdc));
The filter will remove the pages where the "PropertyName"-value is null.
/Øyvind