Author Topic: Attribute/tag value with more than one values  (Read 23563 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Attribute/tag value with more than one values
« Reply #15 on: December 27, 2020, 01:27:26 am »
Another option is to work with "loose" tagged values.
Manually you can add as many tagged values of the same type as you want.
Make sure the option "show duplicate tags" is on though, or EA will only show one of them.
Also, if you need too access the tagged value contents in scripts and/or document generation, it gets tricky. The same goes for RefGUIDLists (although the single RefGUID is simpler to deal with).

Basically what we are all saying here is you're going out on a limb of EA functionality and should consider your metamodel and how to implement it.

But I should also add for completeness that the RefGUIDList I mentioned is the same thing as a one-to-many tagged value connector in the profile. So that's what you were trying to do I think, but you didn't use the correct connector.

/Uffe
My theories are always correct, just apply them to the right reality.

Philipp91

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Attribute/tag value with more than one values
« Reply #16 on: December 27, 2020, 03:03:22 am »
Hey Guys, thanks for the replies!
I read about the RefGUIDList. However, I am also using shape scripts and how I understood it won't be easy to use both of them together.

I will try to do it maybe with "loose tagged values"

Uffe,
which connector can I use as a one-to-many tagged value in the profile? It is exactly what I am trying to do..can you show me an example?

Kind Regards,
Philipp