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....
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 ...
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 ...
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 ...
  • 4,144
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....
  • 6,566
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 ...
  • 19.5k
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 ...
  • 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 ...
  • 2,319
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/...
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 ...
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://...
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 ...
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 ...
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 ...
  • 13.7k
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 ...
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 ...
  • 24.7k
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 ...
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. ...
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 ...
  • 19.5k
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 ...
  • 24.7k
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 ...
  • 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="...
  • 19.5k
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 ...
  • 5,160
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 ...
  • 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 ...
  • 4,781
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 ...
  • 4,781
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 ...
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" $...
  • 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 ...
  • 21.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 ...

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