Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Scripting_function



Panel
titleDescription

Removes multiple tags from Ignition with a single call.


Panel
titleClient Permission Restrictions

Permission Type: Tag Editing

Client access to this scripting function is blocked to users that do not meet the role/zone requirements for the above permission type. This function is unaffected when run in the Gateway scope.


Panel
titleSyntax

system.tag.removeTags(tagPaths)

  • Parameters

String[] tagPaths - An array of the paths to the tags you want to remove. Note: you can specify the tag provider name in square brackets at the beginning of the parentPath string. Example: "[myTagProvider]MyTagsFolder" . If the tag provider name is left off then the project default provider will be used. Note that an empty path ( [''] ) will remove all tags.

  • Returns

nothing

  • Scope

All



Panel
titleCode Examples


Code Block
languagepy
titleCode Snippet
 system.tag.removeTags(["Tag1", "Tag2"])