Create a template

Use a template to create objects, object types, and variables that have similar attributes.
  1. Select
    Template Libraries
    .
  2. (optional) In
    Libraries
    , select
    Configure
    and then select
    Preserve paths on library elements
    .
    TIP:
    By default, if you import a template with dependencies, the objects are created in the parent node of the imported template. Preserving paths on library elements allows you to import template dependencies into their original nodes.
    For example, with
    Preserve paths on library elements
    enabled, if you import a widget that depends on objects located in the
    Model
    folder, the objects will be recreated in the
    Model
    folder.
  3. From
    Project view
    , drag the node into a library in
    Template Libraries
    .
    For example, drag an object, object type, variable, or widget.
  4. If prompted, resolve object type conflicts.
    Type conflicts occur when object types of the new template duplicate object types of an existing template.
    To address object type conflicts select either:
    • Skip
      . Do not update a specific object type. Keep the existing object type in the project.
    • Replace
      . Replace a specific existing object type with a new object type.
    • Rename
      . Rename a specific new object type with a unique name. Retain the existing object type.
    • Skip all
      . Do not update any object types. Keep the existing object types in the project.
    • Replace all
      . Replace all existing object types with new object types.
    • Rename all
      . Rename all object types to with unique names. Retain the existing object types.
  5. (optional) Select the template and enter a description.
    For example, explain how to use or implement the object, object type, variable, or widget.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.