November Happy Hour will be moved to Thursday December 5th.

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
Jan 16, 2007 10:22
Vote:
 
Hi. Check this out: http://www.episerver.com/templates/ForumItem.aspx?id=2255&epslanguage=EN Frank :)
#15067
Jan 17, 2007 10:08
* 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.