Reference Fields
Content Template
The Content Template field instantiates editing of a content template. Stores as an object in the database, including the fields from the chosen content template.

Strife Studio screenshot of a Content Template field
For further information on templates, please refer to this reference guide.
Settings
In addition to the basic settings, this section provides information about unique settings and configurations specific to this field.
You can find a comprehensive list of all basic settings in the 'Overview' section.
| Option | Description |
|---|---|
Content Template* | Selects the content template to use for editing |
Define with JSON
When defining templates using JSON, this field is represented using:
- Component Name:
str-content-template - Type:
content-template - Reference ID:
str-content-template
The settings above map into the editor.attributes object inside the JSON definition.
{
...
"editor": {
"name": "str-content-template",
"type": "content-template",
"propertyName": "...",
"attributes": {
"templateId": "..." //The ID of the content template
}
},
...
}Live preview
To enable live preview for the Content Template field, refer to each field within the content template to find compatible Strife Web Components, ensuring seamless integration.
For more information on live preview and Strife Web Components, please refer to the Live preview documentation.