Manage templates

Manage templates

Use C# APIs to import templates from template libraries and resolve conflicts by running a design time NetLogic.
TIP: You can only import templates through C# APIs with the
Show feature preview
option enabled. For more information, see Set options.
Consider the following while using C# APIs to manage templates:
  • Before importing templates, commit the project to create a snapshot of the current project state. See Commit changes. Committing the project enables you to roll back to the previous project state at any time. See Restore a project to a commit.
  • You can only import templates compatible with your
    FactoryTalk Optix Studio
    version. You cannot update templates incompatible with your
    FactoryTalk Optix Studio
    version through C# APIs.
  • You can only import templates under compatible parent nodes.
  • You can only import local templates.
  • When you import a template of a UI object, you may need to reposition or instantiate the object.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.