UC_OBJECT_TEMPLATE - Object Types and Templates

This Variable (VARA) object specifies the templates to be used to create particular object types. It is supplied with system client 0000 and can be copied to other clients and customized as needed. Templates can be adjusted as required and make creating objects easier.

You can create objects using the function Add Object in the Process Assembly context menu. By default, all object types are displayed by default. Use UC_OBJECT_TEMPLATE to restrict the selection of object types displayed.

You can also limit this list on the basis of authorizations. Specify the value N in the parameter TEMPLATE_SHOW_ALL in the variable UC_CLIENT_SETTINGS to show users only the object types they are allowed to create. For more information, see TEMPLATE_SHOW_ALL and UC_CLIENT_SETTINGS - Various Client Settings.

Define an appropriate name in the Key. By default, an object type abbreviation such as JOBS.R3 is displayed. 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 are created individually.

You can also create an individual template by creating an object and entering its name in this variable. It is recommended to use 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, and a serial number or counter. For example, JSCH.NEW.2. It is also possible to define more than one template per object type.

If a client contains its own UC_OBJECT_TEMPLATE variable, it is also possible to provide a collection of own templates. The system searches for templates in the actual client first. It there are no templates available, the system searches in system client 0000.

Important! You can always add entries to UC_OBJECT_TEMPLATE but make sure not to delete the standard entries supplied. Otherwise, you will have problems with XML imports.

Example

See also: