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.
파일 보기 프로젝트 열기: Velir/Sitecore-Commons

공개 메소드들

메소드 설명
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