Question

I am looking to find out whether or not Items that are either descendants of or are, themselves, hidden items get published when a user Publishes or Republishes the content tree.

I know that this is a pretty basic question, but I haven't been able to find the answer online, and I do not currently have an instance set up with additional roles and users, to use to test this.


Thanks for your help! Happy coding :)

Was it helpful?

Solution

Items which have Hidden field set to true are published as any other items.

Still remember that this is up to you what kind of access rights you'll set for them and who will be able to access them.

OTHER TIPS

By hidden items - do you mean things like the /sitecore/System folder? In any case, as long as it's publishable (i.e. not in workflow, not set as unpublishable in publishing restrictions and the like), it will be published.

Edit
It is important to note that it's parent/ancestors should also be publishable, otherwise it'll still not be published.

All items get published unless marked as Never Publish or have Publish End Date set to earlier than today (In this case the already published items get unpublished/deleted from web database)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top