Hi,
How can I get a PageDataCollection with all pages on the website, including the expired/not published pages?
I tried this (from a previous post in the forum):
PageTreeLoader ptl = new PageTreeLoader();
PageDataCollection pdc = ptl.GetCompletePageTree(PageReference, Global.EPDataFactory);
However, it doesn't seem to include non-published pages. I got the same results when trying to use FindPagesWithCriteria and accesslevel.none.
Regards,
Christoffer