Hi All, In this post we will see about how items are published in sitecore.
Let's Go,
- When you work in Sitecore, the items you save are saved to the Master database.
- When you publish new items or updated items, the items are copied from the Master database to a publishing target
The default publishing target in Sitecore is the Web database.
Types of publishing:
1.Site Publishing - publishes your entire website starting from the root of the content tree.
2.Item Publishing- publishes the item you select in either the Content Editor or the Experience Editor. The item can only be published if all its ancestors have been published.
Publishing Methods
1.Incremental publish:
- Maintains a publishing queue.
- Items added to the queue when changes made to this.
- Publishes item only from the publishing queue.
2.Republish:
- This publish will simply publish the each item again even if it’s published before.
- Slowest.
3.Smart publish:
- It compares each item with target database,if changes made,it publishes.
- Comparing all items in the database makes time consuming.
Note:
Incremental Publish is only available when you publish the entire website
When you are ready to publish your website, you can run the publishing wizard.It provides guidelines to publish your site.
You can run the publishing wizard from the Content Editor and the Sitecore Desktop.
Steps to Publish a website:
Step 1: Open the Publish Site wizard from one of two locations in Sitecore:
A. Content Editor – on the Publish tab, in the Publish group, click the Publish drop-down arrow, and select Publish site.
B. From the Sitecore Desktop => Start => click Publish site
Step 2: Choose one of the publishing method and publish your Items.
Please don’t forget to share with your friends. Happy Coding :)
No comments:
Post a Comment