Skip to content

TemplateComponentContent

One component of a template and its content, such as an email’s subject.

type TemplateComponentContent {
alternativePreviewSourceContentType: String
channel: Channel!
isDraft: Boolean!
isSingleLine: Boolean!
key: String!
language: String!
name: String!
possiblePreviewContentTypes: [String!]!
possibleTargetContentTypes: [String!]!
sourceContentType: String
value: String!
}

The content type of the alternative source that the component’s preview renders from.

The channel that the content is set on. It can be a parent of the channel in use.

Whether the content is a draft that is not published.

Whether the component is a single line, such as an email’s subject.

The content key that the component’s content is stored under.

The language of the content.

The component’s name, such as Subject or Body.

The content types that the component can render to for a preview.

The content types that the component can render to.

The source type: the content type that the component is written in.

The component’s content, written in its source type.

TemplateContent object