Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
FindPagesWithCriteria(Global.EPConfig.StartPage, pcCollection, AccessControlList.NoAccess)
:-)
Bård Nymoen
BEKK Consulting
PageDataCollection oPages =
Global.EPDataFactory.FindPagesWithCriteria(
parent, coll, EPiServer.Security.AccessControlList.NoAccess);
And then, afterwords I need to loop through all pages in the collection with this, to be able to retrieve data in the custom properties:
PageReference correctRef = new PageReference(page.PageLink.ID, true);
PageData reloadedPage =
Global.EPDataFactory.GetPage(
correctRef, EPiServer.Security.AccessControlList.NoAccess);
if(reloadedPage != null)
SaveProductToArray(reloadedPage);
Frank :)