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).
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