Table of Contents

Interface IContentTypeDetails

Namespace
ToSic.Eav.Data.ContentTypes
Assembly
ToSic.Eav.Data.dll

Content Type Settings as typically configured in the UI

[WorkInProgressApi("WIP v22")]
public interface IContentTypeDetails : IModelFromEntity<ContentTypeDetailsModel>, IModelFromEntity, IModelFromData

Remarks

Added v22

Properties

AdditionalSettings

Lists all names of settings (AppSettings) to load when editing this content-type, as it will be needed in Formulas.

string? AdditionalSettings { get; }

Property Value

string

Description

Brief description/teaser (not html) - mainly tables of Content-Types.

string? Description { get; }

Property Value

string

EditInstructions

Instructions to show in the edit-dialog of items of this content type.

string? EditInstructions { get; }

Property Value

string

Icon

The icon representing the content type, for showing in selection-UIs.

string? Icon { get; }

Property Value

string

Label

The visible label / title of the content type, as it appears in the UI.

[ContentTypeTitle]
string Label { get; }

Property Value

string

The link for additional tutorials, instructions etc. (probably not used anywhere, but not sure)

string? Link { get; }

Property Value

string

ListInstructions

Instructions to show when listing items of this content type - I believe currently not used.

string? ListInstructions { get; }

Property Value

string

Notes

Additional notes (HTML) - mainly for the admin.

string? Notes { get; }

Property Value

string

Remarks

Usually a file (png) referenced like [App:Path]/ct-dnn-icon.png when in the app. In complex scenarios, there are also undocumented ways to include an SVG directly inline...