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

getchildren does not return unpublished pages

Vote:
 

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?

 

/Rudde 

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

I have set the PublishedStatus property to PagePublishedStatus.Ignore

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

#19889
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.