Versions Compared

Key

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


Scripting_function



Panel
titleDescription

Removes a tag from Ignition.


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.removeTag(tagPath)

  • Parameters

String tagPath - The path to the tag you want to remove. 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.removeTag("Tag1")