- Getting started
- Creating projects
- OPC UA
- Graphic objects
- Predefined graphic objects
- Object and variable references
- Extending projects
- NetLogic
- Tutorials
- Dynamic links tutorial
- Graphic objects tutorial
- NetLogic tutorial
- OPC UA tutorial
Create a template
Use a template to create objects, object types, and variables that have similar
attributes.
Prerequisites
Create a custom library. See Configure a local library and Configure a remote library.
- To create a template
- Select.Template Libraries
- (optional) InLibraries, selectand then selectPreserve paths on library elements.TIP:By default, importing a template with dependencies creates the objects in the parent node of the imported template. Preserve paths on library elements to import template dependencies to their original nodes.For example, if you import a widget that depends on objects located in theModelfolder, selectPreserve paths on library elementsto recreate the objects in the Model folder.
- FromProject view, drag the node into a custom library inTemplate Libraries.TIP: You cannot add templates to predefined libraries.For example, drag an object, object type, variable, or widget.
- 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.
- (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