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 Add Object function 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 TEMPLATE_SHOW_ALL parameter in the UC_CLIENT_SETTINGS variable to show users only the object types they are allowed to create. For more information, see TEMPLATE_SHOW_ALL.

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 the object name of the desired object type in the UC_OBJECT_TEMPLATE variable. If this variable is available in the current client, it overrules the variable of client 0. Make sure that your client does not include an object of the same name as otherwise, this object would be used as a template. If there is neither a template, nor an object of the same name, the system uses the UC_OBJECT_TEMPLATE variable of system client 0.

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: