Table of Contents

Class CreateHeadlessItemEventData

Namespace
CMS.Headless
Assembly
CMS.Headless.dll

Contains the business event data for headless item creation events.

public sealed class CreateHeadlessItemEventData
Inheritance
object
CreateHeadlessItemEventData
Extension Methods

Remarks

This class holds event-specific data that is shared between before and after create headless item events. It represents the business context of the event (headless item details) and is separate from cross-handler communication state.

Constructors

CreateHeadlessItemEventData()

Initializes a new instance of the CreateHeadlessItemEventData class.

public CreateHeadlessItemEventData()

Properties

ContentItemData

Content item data.

public ContentItemData ContentItemData { get; init; }

Property Value

ContentItemData

ContentLanguageID

Content language identifier.

public int ContentLanguageID { get; init; }

Property Value

int

ContentLanguageName

Content language name.

public string ContentLanguageName { get; init; }

Property Value

string

ContentTypeID

Content type identifier.

public int ContentTypeID { get; init; }

Property Value

int

ContentTypeName

Content type name.

public string ContentTypeName { get; init; }

Property Value

string

DisplayName

Headless item display name, used to identify the item in user interface.

public string DisplayName { get; set; }

Property Value

string

Guid

Headless item unique identifier (available only in After event).

public Guid? Guid { get; init; }

Property Value

Guid?

HeadlessChannelID

Headless channel identifier.

public int HeadlessChannelID { get; init; }

Property Value

int

HeadlessChannelName

Headless channel name.

public string HeadlessChannelName { get; init; }

Property Value

string

ID

Headless item identifier (available only in After event).

public int? ID { get; init; }

Property Value

int?

Name

Code name of the headless item.

public string Name { get; set; }

Property Value

string

VersionStatus

Version status in which the headless item was created.

public VersionStatus VersionStatus { get; init; }

Property Value

VersionStatus