C# Класс Sitecore.SharedSource.Commons.CustomSitecore.Pipeline.CancelEntireSitePublish

CancelEntireSitePublish is a safe guard against a publish of a home item and its sub items. Checks the root item for a child of /sitecore/content and if the deep option is true.
Показать файл Открыть проект

Открытые методы

Метод Описание
CheckProcessing ( object sender, EventArgs args ) : void

Option to overwrite the sitecoreBasePaths by setting the AppSettings configuration Sitecore.SharedSource.Commons.CancelEntireSitePublish Option to allow admins to perform the publish and override this functionality by setting the AppSettings configuration Sitecore.SharedSource.Commons.AllowAdminEntireSitePublish to "1" or "true" Option to specify exclusion paths that won't go through this functionality by setting the AppSettings configuration Sitecore.SharedSource.Commons.CancelEntireSitePublishExclusionPaths Option to specify the message written when this process cancels a site publish by setting the AppSettings configuration Sitecore.SharedSource.Commons.CancelEntireSitePublishMessage Add a handler to the itemProcessing pipeline as follows in this example. Build using Sitecore.Kernel Version 6.0 081022

Описание методов

CheckProcessing() публичный Метод

Option to overwrite the sitecoreBasePaths by setting the AppSettings configuration Sitecore.SharedSource.Commons.CancelEntireSitePublish Option to allow admins to perform the publish and override this functionality by setting the AppSettings configuration Sitecore.SharedSource.Commons.AllowAdminEntireSitePublish to "1" or "true" Option to specify exclusion paths that won't go through this functionality by setting the AppSettings configuration Sitecore.SharedSource.Commons.CancelEntireSitePublishExclusionPaths Option to specify the message written when this process cancels a site publish by setting the AppSettings configuration Sitecore.SharedSource.Commons.CancelEntireSitePublishMessage Add a handler to the itemProcessing pipeline as follows in this example. Build using Sitecore.Kernel Version 6.0 081022
public CheckProcessing ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
Результат void