Content Fragment Models define the structure of content for your content fragments.
If do you not enable Content Fragment Models the Create option will not be available for creating new models.
To enable content fragment models you need to:
- Enable the use of content fragment models in the configuration manager
- Apply the configuration to your Assets folder
To create a new Content Fragment Model you must first enable them using the Configuration Manager:
When the configuration global is enabled for content fragment models, then any models that users create can be used in any Assets folder.
To use other configurations (i.e. excluding global) with a comparable Assets folder, then you have to define the connection. This is done using Configuration in the Cloud Services tab of the Folder Properties of the appropriate folder.
If the use of content fragment models have not been enabled, the Create option will not be available.
The content fragment model effectively defines the structure of the resulting content fragments. Using the model editor you can add, and configure, the required fields:
Editing an existing content fragment model can impact dependent fragments.
Open the required model for Edit; use either the quick action, or select the model and then the action from the toolbar.
Once open the model editor shows:
- left: fields already defined
- right: Data Types available for creating fields (and Properties for use once fields have been created)
When a field as Required, the Label indicated in the left pane will be marked with an asterix (*).
- Once a field has been added to the model, the right panel will show the Properties that can be defined for that particular data type. Here you can define what is required for that field. For example:
For the data type Multi line text it is possible to define the Default Type as either:
If not specified, the default value Rich Text is used for this field.
- Rich Text
- Plain Text
Changing the Default Type in a content fragment model will only take effect on an existing, related, content fragment after that fragment is opened in the editor and saved.
Deleting a content fragment model can impact dependent fragments.
Content fragment models need to be published when/before any dependent content fragments are published.