Power Publish

  0 rating
2/18/2015 10:29:03 AM
11/14/2016 11:28:53 AM
Provider: Rob Habraken

About

Power Publish

First of all, this publish button will force the item being published, regardless the state of the Publishable option on the Item tab in the Publish restrictions, so you can use it to publish items that you've unpublished via the Unpublish button of this add-on (it does respect other Publishing restrictions and Worflows though). But more importantly, this publish button also publishes all resources used by the current item. So if you've included media items like an image or a PDF, but forgot to publish them, clicking this button will also publish those items. It even works if you've publised the media item itself, but forgot to publish its parent folder...

This function will not publish linked pages in your site that are not published, but only resources like media library items and data sources used in item fields, as those are needed to display the item you want to publish correctly. This method even publishes the templates and layouts used by the current item, if that's not done yet.

If you are using Sitecore 7 or 8, this also works for datasource field values, as they are represented by GUIDs from version 7.0 and up. Older versions of Sitecore store datasources as plain text, hence they are not noted as a reference by Sitecore and thus this plugin will not have any effect on those items.

Unpublish

This button enables you to unpublish an item with a single click. It will change the Publish Restrictions as it unchecks the Publishable option on the Item tab and publishes the item after that, using a full Republish without Subitems.

Publishing State

This gallery button shows the publishing state for all publishing targets. If a publishing target is up-to-date, a green dot is shown. If the item is published to a publishing target, but the item has changed afterwards, an orange dot is shown (so it's published, but not up-to-date). If the current item is not present in a publishing target at all, a red dot is shown. This function enables the content editor to check into detail if the content is published or not, for every publishing target.

Documentation

Documentation
Back
Release notes
0.3 - Initial release0.4 - Added Power Publish and Unpublish button to the Page Editor0.5 - Fixed bug that already published references aren't published again and added Publishing State gallery button0.6 - Added backwards compatibility for versions 6.4 and up0.7 - Added multi-language support0.9 - Tested on Sitecore XP 8 and tested workflow compatibility
Read more Back
Code examples
  • Code examples > The full source code of this module can be found here:
    checkout my github account
    https://github.com/robhabraken/sitecore-power-publish
    0

Solution screenshots(0)

Upload

Reviews (0)

Sort by: Date Most votes
  • Profile Avatar
    [fullName]

    Level: 0

    x0 x0 x0

    [date]

    [title]

    [text]

    Was this helpful?

    0

Comments (0)

Sort by: Date  Most votes

Leave a Comment

Comment must be field in
Post comment
loader

Write a review

Title can't be empty
Review can't be empty
Post review

Download

Title Description Download Action

Add File