fevereiro 11, 2016
For a content author familiar with adding content to Sitecore, content creation and editing is straight forward:
You edit or create your content
You move the content through workflow
The content gets published
Depending on your build configuration, your content either gets published immediately (as a consequence of a custom publication action on your workflow) or you sit and wait for a scheduled publish to occur which will make your change live.
For content authors in the latter category, deleting an item will not change their experience. It is really the content authors in the former category, who are used to seeing their changes going live immediately, that receive a different experience.
In the immediate publication scenario, workflow triggers a publication of the item (and likely its related items and media) when the item reaches the final state of the workflow. The challenge a deletion creates is that it does not go through workflow and therefore does not fire the publication action. As a consequence, a deletion is not immediately published which breaks from the content author's typical experience.
So how does the deletion get published?
- It gets picked up by a scheduled publication.
- A user belonging to the sitecore/Sitecore Client Publishing role manually publishes the parent item and all of its children (to include the deleted item in the publication scope).
- Move the parent item through workflow to force a publication of the children items. This assumes your workflow publication action is configured to publish children items.