Try our conversational search powered by Generative AI!

getchildren does not return unpublished pages


I am having problems with the menulist not showing unpublished pages when logged in as administrator or editor.

 First I just used the default way of just giving the menulist an pagelink to populate the menu.

then I changed to using a datasource and getchildren as datasource. but whatever I do and whatever accessrights i supply to the method, getCHildren does simply not return the unpublished pages!

how should I do to make the menulist show unpublished pages when logged in?



May 06, 2008 17:43
MenuList has a property called "PublishedStatus", try setting that.
May 07, 2008 9:16

I have set the PublishedStatus property to PagePublishedStatus.Ignore

but still no difference. my unpublished pages just wont appear in the menulist 

May 13, 2008 16:03
* 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.