Author Topic: Delete tagged values, en-masse  (Read 1177 times)

shimon

  • EA User
  • **
  • Posts: 113
  • Karma: +4/-0
    • View Profile
Delete tagged values, en-masse
« on: November 28, 2024, 12:09:31 am »
Hi,
Using existing Excel export and import profiles, I dirtied my model with tagged values that weren't appropriate or necessary.

For example, we had tagged values for Compliance on requirements, and during the re-import process, these were added to the Packages, too. We also had tagged values added erroneously to elements by some MDG classifications.

I had our programmer write a VB script to delete tagged values, based on Tag value name and value. If anybody has a need for this, I'll try to post it here.
Sincerely,
Shimon


ea0522

  • EA User
  • **
  • Posts: 131
  • Karma: +4/-0
    • View Profile
Re: Delete tagged values, en-masse
« Reply #1 on: November 28, 2024, 05:42:03 pm »
Hai Shimon,
Nice solution.
Just wondering, how do you determine which Tagged Values to remove?
Is it hardcoded in the script or do you have some other mechanism?

shimon

  • EA User
  • **
  • Posts: 113
  • Karma: +4/-0
    • View Profile
Re: Delete tagged values, en-masse
« Reply #2 on: November 28, 2024, 09:17:23 pm »
Hi,
It is hardcoded in the script, but I put the code that defines the Tag names and Tag values in the first few lines of the script, so whoever uses it can edit it to their use.
Sincerely,
Shimon

ea0522

  • EA User
  • **
  • Posts: 131
  • Karma: +4/-0
    • View Profile
Re: Delete tagged values, en-masse
« Reply #3 on: November 29, 2024, 01:33:32 am »
Thanks for the quick reply!