0

How to Rename Tags in a DataSet (version 21)

Bulk Tag Rename

To rename tags within a DataSet, follow these steps:

  1. Create a CSV file with two columns: Column 1 containing the old tag name, and Column 2 containing the new tag name. (*Note: Tag names should NOT be prepended with the DataSet name.)
  2. Open the Canary Admin, navigate to the Historian tile, open the appropriate DataSet, and select a daily file.
  3. Click the yellow down-arrow in the bottom left 'FILE' menu and select 'RENAME TAGS'.
  4. Select which files the tags are to be renamed in. There are four options:
    1. 'Entire dataset'
    2. 'This file only'
    3. 'This file and older'
    4. 'This file and newer'
  5. Browse for the CSV file created in Step 1 then click 'ok'.

A 'RESULTS' window will appear confirming whether or not the tags were successfully renamed. If they were not renamed successfully, an Errors.txt file will be generated.

Tags cannot be renamed to a tag name that already exists in the file. Tag names must be unique.

Tags cannot be renamed if they are being actively logged or accessed.

Individual Tag Rename

To rename an individual tag within a DataSet, follow these steps:

  1. Open the Canary Admin, navigate to the Historian tile, open the appropriate DataSet, and open a daily file.
  2. Select the tag to be renamed from the 'TAGS' list.
  3. Click the yellow down-arrow in the 'PROPERTIES' menu and select 'RENAME'.
  4. Provide the new tag name and select which files within the DataSet to change it in. There are 4 options:
    1. 'Entire dataset'
    2. 'This file only'
    3. 'This file and older'
    4. 'This file and newer'
  5. Click 'ok'. A window will appear confirming whether or not the rename was successful.
3replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Hello, I tried the "Bulk Tag Rename", but received this message error "Either the source or destination path wasn't specified."
    Can Some one help me?

    Like
  • wilson. santos

    Is the dataset name prepended to the tag name? You do NOT want the dataset name prepended if it is.

    Like
    • Steve Mason 

      Hello Steve. 

      I discovered my mistake. When I changed the second column and save the CSV archive, my Excel used semicolon (;) like separator.

      I edited the CSV archive in notepad and change the semicolon (;) to comma (,), after this I got it the bulk TAG rename. 

      Thanks for help. 

      Like