Table of Contents

Class ContentItemEvents

Namespace
CMS.ContentEngine
Assembly
CMS.ContentEngine.dll

Content item events.

public static class ContentItemEvents
Inheritance
object
ContentItemEvents

Fields

Archive

Fires when content item is archived or unpublished. We no longer need to handle this event, which will be deleted soon. Please handle unpublish instead.

[Obsolete("Archive status was replaced by Unpublished status, use Unpublish instead.")]
[ObsoleteSince(29, 2)]
public static ContentItemEventHandler<ArchiveContentItemEventArgs> Archive

Field Value

ContentItemEventHandler<ArchiveContentItemEventArgs>

Create

Fires when content item is created.

public static AdvancedContentItemEventHandler<CreateContentItemEventArgs> Create

Field Value

AdvancedContentItemEventHandler<CreateContentItemEventArgs>

CreateLanguageVariant

Fires when a new content item language variant is created.

public static AdvancedContentItemEventHandler<CreateContentItemLanguageVariantEventArgs> CreateLanguageVariant

Field Value

AdvancedContentItemEventHandler<CreateContentItemLanguageVariantEventArgs>

Delete

Fires when content item is deleted.

public static ContentItemEventHandler<DeleteContentItemEventArgs> Delete

Field Value

ContentItemEventHandler<DeleteContentItemEventArgs>

Publish

Fires when content item is published.

public static ContentItemEventHandler<PublishContentItemEventArgs> Publish

Field Value

ContentItemEventHandler<PublishContentItemEventArgs>

Unpublish

Fires when content item is unpublished.

public static ContentItemEventHandler<UnpublishContentItemEventArgs> Unpublish

Field Value

ContentItemEventHandler<UnpublishContentItemEventArgs>

UpdateDraft

Fires when content item is updated.

public static AdvancedContentItemEventHandler<UpdateContentItemDraftEventArgs> UpdateDraft

Field Value

AdvancedContentItemEventHandler<UpdateContentItemDraftEventArgs>

UpdateLanguageMetadata

Fires when content item language metadata is updated.

public static AdvancedContentItemEventHandler<UpdateContentItemLanguageMetadataEventArgs> UpdateLanguageMetadata

Field Value

AdvancedContentItemEventHandler<UpdateContentItemLanguageMetadataEventArgs>

UpdateMetadata

Fires when content item metadata is updated.

public static AdvancedContentItemEventHandler<UpdateContentItemMetadataEventArgs> UpdateMetadata

Field Value

AdvancedContentItemEventHandler<UpdateContentItemMetadataEventArgs>