April 2016
Beginner
338 pages
7h 38m
English
Sitecore has a very powerful publishing architecture, which is perfect for almost all cases, but sometimes, we may need to override the publishing engine as per our requirement. The <publishItem> pipeline contains many processors playing different roles in publishing items.
A very common challenge in Sitecore is to deal with duplicate item names in a single parent. In this recipe, you will learn how we can achieve a unique item name in a single parent after publishing.
We will create a custom processor in the <publishItem> pipeline:
SitecoreCookbook project, create a RemoveDuplicateItems class in the Publishing folder and inherit it from PublishItemProcessor ...