Create a new template

Create a new Template

  1. Go to the Service Catalog Admin page

  2. Click on "Catalog Maintenance" in the menu

  3. Choose Templates

  4. Click the button "Add new template"

Be aware that objects are based on a template when they get created. The template can't be changed afterwards.

It is advisable to keep the number of templates limited.

Now you can create a new template. The Name field is mandatory, all other fields are optional.

Below is an explanation of the options while creating a new template

This tab contains the general settings of the template

Name

Specify a name for this template

Live

When this option is set to ‘Yes’, the template is enabled for creating a new object.

Type

Choose between Service, Group or Variant. Service is the default option and allows linking an object based on this template to any other object. A variant can only be linked as a child. A group can only be linked as a parent.

Always hide in public

When enabled, objects based on this template will not be visble in the public pages. When this option is set to “Yes”, records created from this template will not be visible on public pages.

Object name

Free text makes it possible to give a object a free-text name

With Dynamic Value, you can use template fields to dynamically construct the name of the object. This is useful if you have a naming convention and all objects must have a similar name.

Object name format type

Choose between Plain text, NCALC or JavaScript for the way you want to set the object name.

Object name format

Use this field to set the dynamic value. It depends on the previous field if you type here plain text, NCALC or javascript.

Object summary contains html

When this option is set to “Yes”, the contents of the summary field are displayed on public pages without being encoded. This allows you to include formatted text in your summary.

Object summary type

Plain text NCalc JavaScript

Object default type

Select the object type that should be set by default when a object is created from this template.

Available Phases

Here you can define which phases should be available in the lifecycle of a object.

Confirm message on publish request

This field is used to provide information to the person publishing a object based on this template. The message entered here is displayed immediately after the publication is completed. It can be used, for example, to inform the person about what will happen after the publication.

Confirm message on unpublish request

Specify a custom message that will be shown when a object created from this template is unpublished.

Confirm message on delete request

Specify a custom message that will be shown when an object created from this template is deleted.

On duplicate copy documents

Choose here if you want to include documents when copying an object based on this template.

On duplicate copy relations

Choose here if you want to include relations when copying an object based on this template.

UI styling css class name

Use this option to show objects based on this template in a specific style within overviews. The predefined classes success, info, warning, danger typically provide the colors Green, Blue, Yellow and Red. If you define additional classes in your customer.css file, other colors are possible.

Compare versions default left

When comparing version of published objects, choose here which version is shown on the left hand side.

  • Current working copy - This is the "live" version of an object

  • Current published version - This is the last published version

  • Latest version - This is the last created version. Every publication automatically creates a new version

  • Second to last version

Compare versions default right

When comparing version of published objects, choose here which version is shown on the right hand side.

  • Current working copy - This is the "live" version of an object

  • Current published version - This is the last published version

  • Latest version - This is the last created version. Every publication automatically creates a new version

  • Second to last version

Admin translations prefix

With this option you can have specific translation labels for objects based on this template. In case no prefix is set, the default labels are used. With prefix, the system will try to lookup the labels. When they can't be found, an empty record is created.

Add new service via modal help text

With this option you can provide a help text when creating a new object based on this template. Please note that this message is only visible if you choose to show a popup after clicking on the New button. This setting can be done in admin service overviews.

Last updated

Was this helpful?