Tag Archives: Publish

Sitecore Publish Items using the PublishManager

Sitecore have two entries to publishing: Create a new Publisher and call Publish() or PublishAsync() Use the Sitecore.Publishing.PublishManager You should use the PublishManager. Sitecore introduced the Publishing Service which is an optional external publisher that is much faster than the … Continue reading

Posted in .net, c#, General .NET, Sitecore 8, Sitecore 9 | Tagged , , | 2 Comments

Sitecore publish certain items on save

My Sitecore solution have some items, where changes to certain fields are so critical that they need to be published immediately. So when my user presses the Save button, I will open a popup dialog, asking if I should publish … Continue reading

Posted in Sitecore 6, .net, c#, Sitecore 7, Sitecore 8, Sitecore 9 | Tagged , , | 1 Comment

Sitecore custom cache that is cleared on publish

In this article I will demonstrate how to create a custom Sitecore cache and how to ensure that it is cleared when you publish. First I will create the simplest custom cache available: The cache is instantiated with a name, … Continue reading

Posted in c#, General .NET, Sitecore 6, Sitecore 7, Sitecore 8 | Tagged , , , , , , , | 12 Comments

Sitecore Publish Queue

The Sitecore publish queue contains the historical and current items that needs to be published. Every time an item is ready to be published (when you save changes, or the item becomes publishable from a workflow) it is added to … Continue reading

Posted in c#, Sitecore 6 | Tagged , , , , , | 3 Comments

Create and publish items in Sitecore

UPDATE 2019-09-13: There is a new publishing method. Read Sitecore Publish Items using the PublishManager for an improved publish method. Sometimes Sitecore blogs tend to forget to describe the (for the experienced user) trivial tasks and jump right into the advanced (and … Continue reading

Posted in c#, General .NET, Sitecore 6 | Tagged , , , , , | 29 Comments