London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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.