Skip to content

Content Type Data Source

This data source returns a list of available content types, which can be used for dynamically rendering a content type.

The ContentTypeDataSource provides a list of content types in the following JSON format:

1
2
3
4
{
    "value": "content type id or name",
    "text": "localized content type name"
}

If ValueFormat and TextFormat properties are not explicitly specified, the data source will default to using {{value}} and {{text}}, respectively.

Example

1
2
3
<ContentTypeDataSource TextFormat="" ValueFormat="" Enabled="True">
    <Mappings/>
</ContentTypeDataSource>