Sitecore Items Publishing Order

Posted by Xing Liu on 9/8/2015

When you publish Sitecore content tree items, you need to make sure that you publish the items in a certain order.  Here is a scenario that you might encounter when you publish items.  In the example below, a content author created the following structure in the master database, in which News items (News-Item-1 and News-Item-2) were under a parent folder called News-Items:

News Page

After the content author finished editing News-Item-1, he (or she) published only the current item to the web database.  However, the parent item (News-Item) was not in the web database yet, which resulted in an empty News-Items folder being created, as shown below.

News Page Web Database

This is actually expected behavior in Sitecore. Below is information about publishing items with a parent node, as mentioned by Sitecore:

  • When publishing an item to the target database where the parent doesn’t exist, the item will be skipped, because Sitecore cannot publish item to non-existing item.
  • When you publish the item from the parent level, you should publish the item with its subitems.

This is relevant especially when the user is using the Page Editor, as it is easy for the user to publish the child item before publishing the parent.  Therefore, it is recommended to publish parent items before publishing child items.


Looking for a partner who will exceed your expectations? Get in touch.

SYMSOFT SOLUTIONS 4090 Truxel Road, Suite 200 Sacramento, CA 95834
United States (916) 567-1740