Table of Contents

Class HeadlessItemEvents

Namespace
CMS.Headless
Assembly
CMS.Headless.dll

Headless item events.

public static class HeadlessItemEvents
Inheritance
object
HeadlessItemEvents

Fields

Archive

Fires when a headless 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<ArchiveHeadlessItemEventArgs> Archive

Field Value

ContentItemEventHandler<ArchiveHeadlessItemEventArgs>

Create

Fires when a headless item is created.

public static AdvancedContentItemEventHandler<CreateHeadlessItemEventArgs> Create

Field Value

AdvancedContentItemEventHandler<CreateHeadlessItemEventArgs>

CreateLanguageVariant

Fires when a new headless item language variant is created.

public static AdvancedContentItemEventHandler<CreateHeadlessItemLanguageVariantEventArgs> CreateLanguageVariant

Field Value

AdvancedContentItemEventHandler<CreateHeadlessItemLanguageVariantEventArgs>

Delete

Fires when a headless item is deleted.

public static ContentItemEventHandler<DeleteHeadlessItemEventArgs> Delete

Field Value

ContentItemEventHandler<DeleteHeadlessItemEventArgs>

Publish

Fires when a headless item is published.

public static ContentItemEventHandler<PublishHeadlessItemEventArgs> Publish

Field Value

ContentItemEventHandler<PublishHeadlessItemEventArgs>

Unpublish

Fires when a headless item is unpublished.

public static ContentItemEventHandler<UnpublishHeadlessItemEventArgs> Unpublish

Field Value

ContentItemEventHandler<UnpublishHeadlessItemEventArgs>

UpdateDraft

Fires when a headless item is updated.

public static AdvancedContentItemEventHandler<UpdateHeadlessItemDraftEventArgs> UpdateDraft

Field Value

AdvancedContentItemEventHandler<UpdateHeadlessItemDraftEventArgs>

UpdateLanguageMetadata

Fires when headless item language metadata is updated.

public static AdvancedContentItemEventHandler<UpdateHeadlessItemLanguageMetadataEventArgs> UpdateLanguageMetadata

Field Value

AdvancedContentItemEventHandler<UpdateHeadlessItemLanguageMetadataEventArgs>

UpdateMetadata

Fires when headless item metadata is updated.

public static AdvancedContentItemEventHandler<UpdateHeadlessItemMetadataEventArgs> UpdateMetadata

Field Value

AdvancedContentItemEventHandler<UpdateHeadlessItemMetadataEventArgs>