Sitecore - Has an item been published
How to keep track of what Sitecore items have been published
I recently got this question from a colleague who was looking into a customer reported issue.
He was wondering if he could see if this specific page/item has already been published.
The default answer here would be to check the "Web" db or any other publishing target. However, this is a tedious task when checking multiple pages as well as when these pages are nested deeply within your root structure.
So I decided to see what the web had to offer with regards to this.
I first found a Sitecore answer that gave a list of the Items that were in the publish queue. This provides insight into what has NOT been published yet. But does not show what HAS been published:
http://sdn.sitecore.net/Forum/ShowPost.aspx?postid=26498
This was however not what I needed, an I continued on...
The solution come from Stack Exchange:
http://stackoverflow.com/questions/15172346/sitecore-flag-new-items-as-unpublished-items
Turns out Ruud Van Falier wrote a nifty and obvious piece of code to display the publishing status on the gutter...
Check it out !
Comments
Post a Comment