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 channels in the following JSON format:

1
2
3
4
{
    "value": "schedule name",
    "text": "localized name of the schedule"
}

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>