Skip to main content
NICE CXone Expert

We will be closed on Wednesday, December 25th in observance of Christmas

Expert Success Center

Create a custom template

Applies to:
All MindTouch Versions
Role required:
Author
Create custom templates to leverage in content or site elements.

Use Default (General Purpose) Templates, one of three template types in CXone Expert, to standardize or dynamically control content that appears on other pages.

You can also create custom templates as needed.

Aside from the standard page templates, you can also add page templates to your site. These are useful if you use specific document types often and want to standardize your content's formatting or behavior across the same page type.

New Page Templates that you create will appear as options in the Add New Page dialog, and they can be customized or hidden as needed.

  1. Navigate to Site Tools > Dashboard Site Administration > Template Directory.
  2. From the toolbar, select New.
  3. Enter a name for the template, add template content such as formatted headers, text, author instructions, etc. and Save.
  4. Under Page settings, choose a Page type so that it maps to the Guided Content Framework.
  5. Navigate again to Site Administration > Template directory and locate the new template
  6. Next to the new template, click the pencil icon to open the Update template properties dialog. 
  7. Under Type, select the New Page radio button. Modify the title or add a description as needed.
  8. Click Update template properties.

Content added within the Editor area of a New Page Template will appear in the new page. Content added to the Page Summary of the New Page Template within the Template Directory will not populate the Page Summary of the new page.  

 If you receive an error message when trying to use a custom template, check that you have set a Page type for the template and that the page type set complies with Guided Content Framework (if enabled on your site).

Use Custom Template

  1. On the page or New Page Template where you want the template reference to appear, open in Edit mode.
  2. From the Editor toolbar, select Style > DekiScript.
  3. In the DekiScript container, enter template('template-URL');. Use the relative URL of the template, which is everything in the URL after /template:.
    example-template-reference.png

Any changes to the template will dynamically update on all pages where the template is used.

 

  • Was this article helpful?