Aveva Edge: Remove All Tag References Before Deleting Tags from the Database

The Rule

In Aveva Edge (InduSoft Web Studio), you must remove all references to a tag from screens, scripts, and graphics before deleting the tag from the tag database. There is no automatic cleanup — orphaned references will cause runtime errors.

Where Tags Hide

Tags can be referenced in more places than you might expect:

  • Screen objects — text displays, bar graphs, buttons, animations linked to the tag.
  • Scripts — screen scripts, application scripts, global scripts, scheduler scripts.
  • Alarm definitions — alarm setpoints tied to the tag.
  • Trend objects — historical trends configured to log the tag.
  • Recipe definitions — tags used in recipe groups.
  • Communication drivers — driver sheets that map the tag to a PLC address.

The Hunt-and-Find Process

Unfortunately, Aveva Edge does not provide a comprehensive cross-reference tool for tags across all object types. You need to manually search:

  1. Use Find/Replace in the screen editor to search for the tag name across all screens.
  2. Search script files — open each script file and search for the tag name. Script files are text-based and can also be searched externally with a text editor.
  3. Check the alarm worksheet for any rows referencing the tag.
  4. Check trend configurations for the tag name.
  5. Check driver sheets — the communication driver configuration maps tags to device addresses.

After Deletion

After removing all references and deleting the tag, do a full build and run the application in development mode. Watch for any runtime errors that indicate a missed reference. Fix any orphaned references before deploying to production.


Contact

Email: info@eliteautomation.ca

Phone: (587) 735-3548

150-17510 107 Ave NW, Edmonton, AB, T5S 1E9, Canada