Topic 4.1.3: Naming Conventions

Tag Name Conventions

When you name your tags, use a consistent naming convention if you need many tags with similar properties.

Follow these naming conventions for InTouch tag names:

  • Use 32 characters or fewer in a tag name.
  • Use an alphanumeric (A-Z, a-z, 0-9) as the first character of a tag name.

    A best practice is to use only alphanumeric characters for tag names.

  • Use at least one alphabetic character in the tag name.

    (Optional) Use the following special characters:

    - Dash

    ! Exclamation point

    # Number sign

    $ Dollar sign

    % Percent

    & Ampersand

    ? Question mark

    @ At sign

    _ Underscore

    If possible, avoid using special characters in tag names unless absolutely required by your application.

  • Avoid using a dash (-) in a tag name.

    A dash is a valid character for an InTouch tag name. But, InTouch evaluates a dash as a negation or subtraction operator in logical or arithmetic expressions. For example, the expression A=B-C can be interpreted as A=B minus C or the tag named B-C is assigned to tag A.

    Hyphen or minus sign (-) will not be allowed when Tag Names start with a numeric character.

  • Do not use blank spaces in tag names.
  • Do not use a number in the tag name that can be interpreted as an exponential number.

    For example, you cannot name a tag 125E4 because it could be interpreted as a base number with an exponent raised to the fourth power.

  • Do not use a number in the tag name that can be interpreted as a hexadecimal number.

    For example, you cannot name a tag 0x123B because it could be interpreted as a hexadecimal number.


Last modified: Saturday, 4 January 2020, 3:43 PM