Skip to main content

Basic Setup

After installing the Tag CICD Module, you'll need to perform some basic setup to start using its features. This guide walks you through creating your first tag export/import configuration.

Accessing the Configuration Manager

The Tag CICD Module provides a configuration manager that allows you to create, edit, and manage your tag export/import configurations.

From the Designer Toolbar

You can access the Configuration Manager from the Tools menu via Tools > Tag Export Manager:

Tag CICD Toolbar

Creating Your First Configuration

Once the Tag Configuration Manager is open, you can create your first export/import configuration:

  1. Upon opening the Tag Configuration Manager, you will see a list of existing configurations (if any). If this is your first time, the list will be empty.

    Empty Configuration Manager

  2. Click the Add button in the configuration manager dialog:

    Add Configuration

  3. The Tag Configuration Editor dialog will appear:

    Configuration Editor

  4. Fill in the configuration details:

    • Provider: Select the tag provider (e.g., "Example")
    • Base Tag Path: Select the base tag path for the export/import from the Tag Tree Provided.
    • Export Path: Enter the file path where tags will be exported to or imported from, This is relative to the Ignition Gateway's file system. (e.g., /usr/local/bin/ignition on Linux.)
    • Export Mode: Select one of:
      • Single JSON File: All tags in one file
      • Individual Files: Separate file for each tag/udt/folder
      • Structured Files: Folder structure with tags.json and udts.json
    • Collision Policy: Choose how to handle tag conflicts during import:
      • Abort (a) - Aborts the import if duplicate tags are found.
      • Merge (m) - Merges properties of existing tags with those being imported. This is useful for updating tags without losing existing properties.
      • Overwrite (o) - Overwrites any tags in the folder that have the same name as tags being imported. Note this a complete overwrite of the tag.
      • Delete and Replace (d) - Deletes all tags in the folder before importing. This is useful for completely replacing a folder's contents.
    • Export Provider Root: Check this to export the provider root and deselect everything on the browse tree.
    • Include UDT Definitions: Check this to include UDT definitions from the _types_ folder, when Export Provider Root is selected.
  5. Click Add to save the configuration

Understanding the Configuration Interface

The Tag Configuration Manager shows all your saved configurations in a table:

Configuration Manager

Key elements of the interface include:

  • Provider Column: The tag provider for this configuration
  • Base Tag Path Column: The starting point in the Tag Tree for export/import operations
  • Export Path Column: The gateway file system location for tags
  • Export Mode Column: The format used for export/import
  • Collision Policy Column: How tag conflicts are handled
  • Include UDT Defs Column: Whether UDT definitions are included (When exporting the provider root)
  • Warning Icons: Indicate potential issues, such as overlapping export paths

Running Your First Export

To export tags using your new configuration:

  1. Select the configuration in the table
  2. Click the Export Selected button
  3. The module will export the tags to the file system
tags/
├── Folder1/
│ ├── tags.json
│ └── udts.json
├── Folder2/
│ └── ...
└── _types_/
└── udts.json

Running Your First Import

To import tags using your configuration:

  1. Select the configuration in the table
  2. Click the Import Selected button
  3. Confirm the import operation in the dialog that appears
  4. The module will import the tags

Managing Multiple Configurations

You can create multiple configurations for different tag providers, paths, or export formats:

  1. Click Add to create additional configurations
  2. Use Edit or Double-Click to modify existing configurations
  3. Use Delete to remove unwanted configurations

The order of configurations matters for imports, as they will be processed in the order shown in the configuration manager. You can reorder configurations by:

  1. Click Edit Order
  2. Drag and drop configurations to change their order
  3. Click Save Order when done

Edit Order