Sitecore Experience Platform

Publish an item to your website

Abstract

When you are ready to publish an item, you can run the publishing wizard, which guides you through the steps of publishing.

When you are ready to publish an item to your website, you can run the publishing wizard, which guides you through the steps of publishing in Sitecore. You can run the publishing wizard from the Content Editor and the Experience Editor.

Note

If you publish a new child item individually, the associated parent item must be published first.

To publish a single item:

  1. Open the Publish Item wizard from one of two locations in Sitecore:

    • From the Content Editor – select the item that you want to publish. On the Publish tab, in the Publish group, click the Publish drop-down arrow, and select Publish item.

      0F8082A146404CBAB6AC8956F7B480A0.png

    Note

    To publish the selected item in all languages to all publishing targets and avoid going through the steps of the publishing wizard, click Publish 33CFA9FF00EA44F4A914305C7CF70E10.png.

    • From the Experience Editor – navigate to the page that you want to publish, and on the Home tab, in the Publish group, click Publish.

      94A2998FC54F4E5A98B2E3AC85125FCE.png
  2. In the Publish Item wizard, on the Settings page, specify the publishing mode:

    • Smart publish – publishes the selected item if it has changed since the last publication. When you run Smart Publish, the selected item in the Master database is compared with the equivalent item in the target database and, if the item has changed, it is published. When you are publishing single items, Smart Publish is a quick way to make sure that all changes to a specific item and its subitems are published.

    • Republish – publishes everything. Republish overwrites the selected item in the target database with the equivalent item from the Master database – even if it has not changed. In this way, all obsolete versions are removed from the target database. You can use republishing to restore a backup of the master database and to add a new content language, a new publishing target, or other system items.

      36EB65E9B31E4EB38A11A83A2563CD5F.png
  3. To publish all the subitems of the selected item, select Publish subitems.

  4. To publish all the related items to the selected item, select Publish related items. It is generally recommended that you select this option. Related items can be:

    • Clone references – items that are clones of the selected item.

    • Media references – media items that are related to the selected item.

    • Alias references – items that are aliases of the selected item.

  5. In the Publishing language section, specify the language versions that you want publish.

  6. In the Publishing targets section, specify where you want to publish the items to.

    Note

    If you do not specify a publishing target, the item is published to all the publishing targets.

  7. Click Publish. When the publishing completes, you can see how many items were processed during publishing and the number of items that were created, deleted, or updated on the target database.

    6B44AFA2BA2246DB8711EB71C1B9A89D.png

Note

An administrator can patch the configuration and set the Publishing.DeepScanRelatedItems setting to false:

<setting name="Publishing.DeepScanRelatedItems" value="false" />

When you specify this setting as false, Sitecore does not scan for all possible changes in the related items of the published item. This means that Sitecore publishes fewer items and publishing is therefore faster, but possibly less complete.

This setting is not visible, and the default value is true.