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:
To create a new Content Fragment Model you must first enable them using the Configuration Manager:
Sub-configurations (a configuration nested within a configuration) are not supported for use with Content Fragments.
Navigate to Tools, General, then open the Configuration Browser.
Use Create to open the dialog, where you:
Select Create to save the definition.
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.
Navigate to Tools, Assets, then open Content Fragment Models.
Navigate to the folder appropriate to your configuration.
Use Create to open the wizard.
If the use of content fragment models have not been enabled, the Create option will not be available.
Specify the Model Title. You can also add a Description if required.
Use Create to save the empty model. A message will indicate the success of the action, you can select Open to immediately edit the model, or Done to return to the console.
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.
Navigate to Tools, Assets, then open Content Fragment Models.
Navigate to the folder holding your content fragment model.
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:
When a field as Required, the Label indicated in the left pane will be marked with an asterix (*).
To Add a Field
For the data type Multi line text it is possible to define the Default Type as either:
Rich Text
Markdown
Plain Text
If not specified, the default value Rich Text is used for this field.
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.
To Remove a Field
Select the required field, then click/tap the trash-can icon. You will be asked to confirm the action.
After adding all required fields, and defining the properties, use Save to persist the definition. For example:
Deleting a content fragment model can impact dependent fragments.
To delete a content fragment model:
Navigate to Tools, Assets, then open Content Fragment Models.
Navigate to the folder holding your content fragment model.
Select your model, followed by Delete from the toolbar.
If the model is referenced a warning will be given. Take action appropriately.
Content fragment models need to be published when/before any dependent content fragments are published.
To publish a content fragment model:
Navigate to Tools, Assets, then open Content Fragment Models.
Navigate to the folder holding your content fragment model.
Select your model, followed by Publish from the toolbar.
If you publish a content fragment for which the model has not yet been published, a selection list will indicate this and the model will be published with the fragment.