Content Templates
When a template is created and enabled, it can be used from the Create New drop-down menu by any user with the privileges to create new files in the CCMS.
If all your policy documents follow a similar format, it may be a good idea to create a template that contains the basic elements and structure used in that document type.
If you use ID attribute placeholders in the templates, you are expected to see an XML validation warning next to the template in the Content Library. Ignore the warning. For more information, see Add ID attribute placeholders and Warehouses to a Template.
Guidelines
Keep these guidelines in mind when creating templates:
You can restrict access to template configuration files to prevent unwanted changes to the templates.
You can add variable elements and map metadata to a template.
You can provide internal guidance on how to use a template by including draft comment elements or XML comments in the template. See XML Comments.
You can include any allowed elements or content in a template.
Examples
Templates or specializations
Templates are based on standard DITA map and topic elements and can be created by anyone. Specializations are extensions of the standard DITA elements. If you are interested in using specializations, contact your Customer Success Manager.
If you use ID attribute placeholders in the templates, you are expected to see an XML validation warning next to the template in the Content Library. Ignore the warning. For more information, see Add ID attribute placeholders and Warehouses to a Template.
Configure a Template Process
Create a Topic Template
Create a topic template with the desired structure and content.
Create a Map Template
Create a map template with the desired topics, elements, and content.
Add ID attribute placeholders and Warehouses to a Template
Set up content templates to auto-generate new IDs, automatically include author information in the prolog element, and create titles based on the file name.
When you create a new map or topic from a template, any reused or shared content is referenced and resolved correctly.
Enable a Template
You enable map and topic templates so they become available in the Create New menu.
Disable a Template
If you no longer need a template or you don't want a template to be available in the Create New drop-down menu, you can disable it by commenting out the <label>
and <instance>
elements in the .xml file relevant to that template.
You have disabled the selected content template. As a result, this template is no longer visible in the Create New drop-down menu.