Fetch all pages from a website, including non-published

Vote:
 
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
#12899
Mar 25, 2008 18:35
Vote:
 
Hi. Check this out: http://www.episerver.com/templates/ForumItem.aspx?id=2255&epslanguage=EN Frank :)
#15067
Mar 25, 2008 18:46
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.