Author Topic: Tagged value types and the automation interface  (Read 3473 times)

Adrian Cook

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Tagged value types and the automation interface
« on: March 04, 2010, 05:24:14 am »
Hello,

Is it possible to associate a tagged value created through the automation interface with a tagged value type that exists in the project? I've written a VBA macro that reads custom requirement attributes from a spreadsheet and creates tagged values on requirement elements in my project to hold those values, but I'd like to associate those tagged values with tagged value types that I've set up in the project (e.g. an Enum type that lists the possible values for a particular attribute).

I've searched the posts on this forum but I haven't found any that answers this question, nor can I find anything in EA online help about this. I'm running EA 7.5 Ultimate.

Thanks,
Adrian

Shawn Stepper

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Tagged value types and the automation interfac
« Reply #1 on: March 04, 2010, 11:52:28 am »
I think you need to look at Repository.PropertyType.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Tagged value types and the automation interfac
« Reply #2 on: March 04, 2010, 08:15:45 pm »
Adrian,

I believe (without proof!) that the tagged value types and their "enumerated" allowed values are only used to guide the creation of the tagged value in the GUI.
I think that you can just create the tagged values with the correct name and value using the API, and that this will have the same result as selecting a tag and value in the GUI.

Geert