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
Check out the ContentModelUsage class :)
List<ContentReference> references = contentModelUsage.ListContentOfContentType(myContentType).Select(x => x.ContentLink.ToReferenceWithoutVersion()).ToList();
or use root page as start for search?
Hi!
We are currently using IPageCriteriaQueryService which allows me to fetch all pages of a specific type with FindPagesWithCriteria. My problem is that a pagereference parameter is required and I need to fetch all pages of a specific type regardless of startpage or site (we have multiple sites sharing EPIServer database).
Does anyone have an idea of the best way to achieve this?
/regards