Book a Demo

Author Topic: How to create multi selection tags in a profile  (Read 7420 times)

Robert Sheridan

  • EA User
  • **
  • Posts: 105
  • Karma: +0/-0
    • View Profile
How to create multi selection tags in a profile
« on: February 08, 2012, 10:35:27 pm »
Hi,
I have been trying to create a tag in a stereotype which allows more than one value to be selected from the list and have failed dismally.  Has anyone cracked this?

Thanks
Robert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How to create multi selection tags in a profil
« Reply #1 on: February 08, 2012, 10:59:44 pm »
This is not possible. You have only a single choice for drop-down. You can select multple srtereotyped classifiers via GUID.

q.

Robert Sheridan

  • EA User
  • **
  • Posts: 105
  • Karma: +0/-0
    • View Profile
Re: How to create multi selection tags in a profil
« Reply #2 on: February 09, 2012, 01:39:02 am »
I had a feeling that it might not be possible.  I have a lot of new users and wanted to create way for them to select which application a change will have an impact on.

The work around we have gone for is a tag with a default list of all the applications and they edit out the ones that dont apply. I was hoping for something a bit better.

Robert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How to create multi selection tags in a profil
« Reply #3 on: February 09, 2012, 02:47:24 am »
It had been requested as a new feature (IIRC) but up to now it has not been implemented.

q.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: How to create multi selection tags in a profil
« Reply #4 on: February 09, 2012, 09:37:38 am »
A possible solution, which qwerty hinted at in his first answer, is to use the RefGUIDList tagged value type. If you have an element in your model representing each application (e.g. a class with the «application» stereotype), then you can define a tagged value type as "Type=RefGUIDList;Values=Class;Stereotypes=application;". You will then be able to select multiple applications per tagged value.
The Sparx Team
[email protected]

Robert Sheridan

  • EA User
  • **
  • Posts: 105
  • Karma: +0/-0
    • View Profile
Re: How to create multi selection tags in a profil
« Reply #5 on: February 10, 2012, 10:42:52 pm »
Thanks for the guidance, it was a big help.

As I am wanting to pick from a group of components in the model I actually ended up creating a stereotype in the profile which matched the stereotype we have used for the those components and created a tag value link to it from the stereotype I want the list to be created in and that worked a treat.

I also got using the tagged value types approach to work from the stereotype by giving the attribute the same name as the tagged value type I had created, I opted to do it all in the profile to simplify maintenance.
« Last Edit: February 10, 2012, 10:43:31 pm by RobertS »

Stephen Kropp

  • EA User
  • **
  • Posts: 27
  • Karma: +1/-0
    • View Profile
Re: How to create multi selection tags in a profile
« Reply #6 on: September 28, 2016, 01:09:19 am »
Has this feature been implemented yet?

I am wanting to assign a multi-select list tag element to my requirement elements to allow for selection of "Verification Method", which the user can select any combination of "Analysis, Inspection, Test".

I first tried using the CheckList type and was disappointed to find this type doesn't have a sub-type that allows a multi-select option. I can see the value in the CheckList type but there is also value in a MultiList type.

Also, one more question. After reading the EA help, I can't determine if it is possible to automatically add the tag to all new requirements. Please tell me this is possible so I don't need to train my team to add the tag each time a new requirement is added.

Thanks!

Steve

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to create multi selection tags in a profile
« Reply #7 on: September 28, 2016, 02:54:08 am »
Steve,

If you are adding tagged values then you are best off creating your own UML profile.
That will allow you to extend existing UML (or EA) types and it will create the appropriate tagged values automatically.

Starting from the UML profile you can go to toolbox and or diagram profiles, and distribute it all using an MDG file.

But you can start by simply creating the profile and applying it using the resources section.

Geert