Book a Demo

Author Topic: How to select a requirement element as tag value  (Read 2424 times)

MV

  • EA User
  • **
  • Posts: 65
  • Karma: +1/-0
    • View Profile
How to select a requirement element as tag value
« on: June 23, 2011, 08:42:41 pm »
Hi Guys,

Is there a way to create a tag value that enables to select from a model element. I want to select a requirement from requirement model as value of a tag so I have defined following tag definition
Type=Classifier;
Values=requirement;
Stereotypes=requirement;

This definition does open a window with model hierachy  but I can only go untill requirement package folder. Nothing is shows under that package.

Thanks

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: How to select a requirement element as tag val
« Reply #1 on: June 24, 2011, 09:08:37 am »
What do your requirement elements look like? I suspect they don't have the «requirement» stereotype, in which case you will want to remove the Stereotypes=requirement; line from your tagged value type definition.

You should probably also change Type to RefGUID. With RefGUID tagged values, if you change the name of the target element, the tagged value updates automatically.

So, try this:

Code: [Select]
Type=RefGUID;
Values=Requirement;
The Sparx Team
[email protected]