45 votes
Accepted

What does the "Publish related items" checkbox do in Sitecore?

Technical details Starting from Sitecore 7.2, there is an option to publish an item with "Publish related items" checked. If you do that, the <getItemReferences> pipeline (defined in Sitecore....
Dmytro Shevchenko's user avatar
34 votes
Accepted

Publishing items in bulk

Publishing that many items will always be quite slow, there is a lot of reading, writing and indexing that is required however. I don't think there is going to be any code which will solve this. I've ...
Steve Newstead's user avatar
21 votes
Accepted

When should I define a new publish target?

Common uses I've seen is to make the following two things easier: Preview of the site before it's published where users don't have sitecore access. This preview can be used internally in the ...
Steve Newstead's user avatar
18 votes
Accepted

What is the difference between republish, smart publish and incremental publishes?

Here's an overview of each of the publishing methods: Republish This publish will simply fully publish out each item again, regardless of whether it has been published before or not. Therefore this ...
Kasaku's user avatar
  • 4,154
18 votes

OnPublishEndAsync not triggering on CD Server

The most likely issue here is the scalability settings for the instance names. Scalability settings allow your different instances to listen to the shared event queue and know which ones to respond to....
Jason St-Cyr's user avatar
  • 6,751
17 votes

When should I define a new publish target?

You can find a great explanation with examples in this blog. A few reasons to define additional publishing targets mentioned there: Traffic, geographic distribution, redundancy and other scalability ...
Gatogordo's user avatar
  • 20k
17 votes

Publish at very specific time

You could use SiteCron to do this job. SiteCron is a scheduling module based on Quartz.NET Job Scheduler. SiteCron can be used to create simple or complex schedules to execute jobs. This ...
ASura's user avatar
  • 2,363
16 votes
Accepted

"Unpublishing" a Language from a site

Because you want to keep the content in the Master database, but you do not want to publish it to the web database, this may be a good opportunity to use Workflow. If you're using Workflow on these ...
sitecorerick's user avatar
  • 2,329
16 votes
Accepted

Setting up multiple publishing targets

Scenario Let's say you need create a second publishing target called staging. Steps Publishing Target You need to create an item for the new database in the content tree at the path /sitecore/...
Hishaam Namooya's user avatar
15 votes

How to find out what's pending to be published

I would go with Sitecore PowerShell Extensions. It supports your version as well. My idea is to run query and process all items you want to check. In the past I used something like this to compare ...
Alan Płócieniak's user avatar
15 votes

Publish at very specific time

I spent some time looking into this recently and we decided to use the following module (built by the Hedgehog guys) and it works really well for us so far for scheduling publishing: https://...
Adam Seabridge's user avatar
15 votes
Accepted

How to get hostname on publish end event

The problem with Sitecore.Context.Site: Sitecore performs publishing on the publisher site, and as you noted, the publish:end is an event and is called without a request, so there isn't even a URL to ...
Zachary Kniebel's user avatar
14 votes

When should I define a new publish target?

To make an educated decision, you need to know what publishing does and what it does not. Publishing is the process of copying content from one database to another. By default there is one source ...
Dmitry Harnitski's user avatar
14 votes
Accepted

What is the impact of enabling Sitecore.Publishing.Recovery.config

With a default install of Sitecore the Publishing runs as a Job. If IIS or the server is restarted, or the Application Pool for your site is Recycled the publishing task will be terminated, even if ...
jammykam's user avatar
  • 13.8k
14 votes

How do publish end remote events work

The communication between the Content Delivery and Content Management box is handled through the Event Queue. Your Content Management instance triggers an event (i.e.: "publish:end:remote") This ...
Patrick Barron's user avatar
13 votes

How to stop schedule publishing in weekends?

This can be achieved by updating your Schedule field on your task. 127 represents the days of the week, this task is meant to run. This only makes sense if you convert it to binary. 127d = %01111111 ...
Mark Cassidy's user avatar
13 votes
Accepted

If I unpublish an item will Sitecore update the search index?

I did some research and for simple scenario unpublished content is deleted from the index. In my case, it was Lucene, but that shouldn't be really matter because all relevant code is stored in ...
Dmitry Harnitski's user avatar
13 votes
Accepted

Image not published in data source item (Sitecore 8.1)

When publishing with subitems and related items, there are two important aspects to keep in mind: related items of subitems will be published; related items of related items will not be published. ...
Dmytro Shevchenko's user avatar
12 votes

"Unpublishing" a Language from a site

I think this is possible with SPE. Something like this should work: Remove-ItemLanguage -Path master:\content\home -Language "fr-FR" -Recurse Perform this on a CM server and publish the site to move ...
Gatogordo's user avatar
  • 20k
12 votes

Publishing without SQL

Ok. Well. Would definitely be possible to set something up with Unicorn for this - albeit it a highly unusual configuration. Steps I would take would look something like this: Set up Unicorn on the ...
Mark Cassidy's user avatar
12 votes

Sitecore 8: Items Duplicated in Web Index After Publish

This looks like a bug with the OnPublishEndAsync strategy. It becomes apparent when authors start creating new versions of content each time they lock and edit an item. It has been fixed in 8.1 but ...
Ian Graham's user avatar
  • 1,023
12 votes
Accepted

Publishing target in Sitecore 9

You should add the missing nodes in your config. Sitecore has added these things in the database config in Sitecore9. So in your case -for a "web2" database-, add: <eventing defaultProvider="...
Gatogordo's user avatar
  • 20k
12 votes
Accepted

Publishing error BlobProviderException: No supported provider for is configured

That issue will occur if there is a reference from a media item "blob" field to a missing blob in the "Blobs" table. It might be that the UpgradeApp.exe tool wasn't able to clean ...
Mark Gibbons's user avatar
  • 5,432
11 votes
Accepted

How should I configure publishing on Sitecore 8.2+?

If your content authors are strictly following WorkFlow, use scheduled Incremental publishes. If workflow is not strictly used, use user manual publishes (Smart Publish), and try to cover related item ...
Yogesh Patel's user avatar
  • 1,007
11 votes
Accepted

Sitecore 8: Item Being Skipped During Publish

My particular issue was certainly unique, but may help someone in the future. We had mistakenly added three database entries on the server when only two exist: web web-preview web-delivery The web ...
jrap's user avatar
  • 4,861
11 votes
Accepted

Sitecore 8: Items Duplicated in Web Index After Publish

The issue was that in my efforts to trim the index of waste, i.e. remove fields that I'm not accessing, I removed a certain special field (though it is not marked in any way as being important, though ...
jrap's user avatar
  • 4,861
11 votes
Accepted

How to get a 'last publish date' for an item

You need to create some custom code to have such a functionality, out of the box Sitecore doesn't have such a functionality. You can create a template with two fields : Publishing Date and Publishing ...
Vlad Iobagiu's user avatar
  • 18.2k
10 votes

"Unpublishing" a Language from a site

You could loop through items in your tree and restrict publishing using Sitecore PowerShell. $item = Get-Item master:/sitecore/content/home $item.Editing.BeginEdit() $item["__Never publish"] = "1" $...
ASura's user avatar
  • 2,363
10 votes
Accepted

How do publish end remote events work

When publish:end:remote event is raised, there is an entry created in the core database EventQueue table. All the servers (including CD servers) check that table and executes all the handlers. In ...
Marek Musielak's user avatar
  • 23.1k
10 votes
Accepted

Stop user from saving and publishing when a field is Empty

1) Publishing To stop publishing when field is empty, there is no OOTB functionality. One option how you can achieve it with minimal effort is to put item (template) under workflow and use below ...
Peter Procházka's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible