Administration Guide > Configuration > Settings in Variables > UC_OBJECT_TEMPLATE - Object Types and Templates

UC_OBJECT_TEMPLATE - Object Types and Templates

This variable is used to specify the templates that can be used in order to create particular object types.

Key

Value

New start required

Name of the object type

Template object

No

Description

This variable is supplied in client 0000 and can be assumed and adjusted to the particular client.

One way of creating objects is to use the command New in the UserInterface's context menu. In doing so, a dialog opens which contains a list of the various object types. By default, all object types are displayed. Adjust the variable if you want to restrict this selection. As it is possible to assume this variable to various clients (e.g. test client), you can also define individual selection lists.

You can also limit this list on the basis of authorizations. Specify value "N" in TEMPLATE_SHOW_ALL in the variable UC_CLIENT_SETTINGS and users only see the object types they are allowed to create.  

First define an appropriate name in the key that is by default an object-type abbreviation (such as JOBS.R3). Enter the name of a template in the value section. These object templates are either supplied in the folder "Template" of system client 0000 or have individually been created.

If you want to create an individual template, simply create an object (such as a file transfer). Then enter its name in the variable UC_OBJECT_TEMPLATE. Automic recommends using significant names and an extra folder for these templates. If a user creates an object using this template, by default the suggested name is composed of the template name, the term "NEW" plus a serial number (such as JSCH.NEW.2) or a counter. It is also possible to define more than one template per object type.

Templates can be adjusted according to your requirements at any time. They should make it easier for users to create objects (such as a template for an agent in Unix jobs). Note that users can adjust these templates, the pre-filled lines are only suggestions.

If a client contains its own UC_OBJECT_TEMPLATE, it is also possible to provide a collection of own templates. A template is always first searched in the particular client. If it is not available in the client, the corresponding template of system client 0000 is used. If no template is found, the corresponding entry is not displayed in the selection list.

Pay attention in system client 0000: Entries can be added to the object UC_OBJECT_TEMPLATE but the supplied standard entries MUST NOT be deleted. Otherwise, problems occur in XML imports. 

Example

Excerpt of variable UC_OBJECT_TEMPLATE:

Key

Value

Cockpit

CPIT

Notification for alarm messages

CALL_ALARM

Notification for requests

CALL_REQUEST

 

See also:

Overview of all variables in table form
Variable