Book a Demo

Author Topic: Tag Group - order of tagged values  (Read 3869 times)

Artur Zakrzewski

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Tag Group - order of tagged values
« on: September 25, 2020, 05:59:18 pm »
Hello,

I work on a UML Profile and for one of my new stereotypes I need to define a few tagged values within a tag group. When investigating the problem if and how I can ensure a specific order of tagged values, I found a post on the forum saying that tagged values are sorted alphabetically by default and there is no way to change it. As I need a specific order, I decided to 'cheat' a little bit and add prefix to may tagged values names e.g.

I. My Group
|-> I.1 - Tag Name#1
|-> I.2 - Tag Name#2
|-> I.3 - Tag Name#3

Everything works fine until I start using the Reference List (RefGUIDList) as the type for one of my tag. For the sake of the example, let's say that I defined the tags as below

I. My Group
|-> I.1 - Tag Name#1 (string)
|-> I.2 - Tag Name#2 (Reference List)
|-> I.3 - Tag Name#3 (memo)

Now, due to some reason the tag having the reference list does always to the bottom. When I define the tags (using the Profile Helper) the order is OK but only when I save my work and open the helper again the order is as follows

I. My Group
|-> I.1 - Tag Name#1 (string)
|-> I.3 - Tag Name#3 (memo)
|-> I.2 - Tag Name#2 (Reference List).

Of course, the same (wrong) order is presented when I use my UML Profile. I cannot find a reason why it works like this. Does anyone knows if and how I can alter the order so it is as I want? Is there anyway to define a tag with reference list without the Profile Helper?

Thanks for your help!

Regards,

Artur

Artur Zakrzewski

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Tag Group - order of tagged values
« Reply #1 on: September 30, 2020, 05:23:16 pm »
Hi,

Just to share my findings. The problem occures if I add a new tagged value using the profile helper and from the menu I select "Add Specialized Taggeg Value->Reference List". But If I define a new tagged value type first (Configure->UML Types->Tagged Value Types) and later using the profile helper I select "Add Specialized Taggeg Value-> Predefined" then the order is OK - it is alphabetical.

Perhaps it is only me who has this issue but I'm glad that there is a workaround for this.

Regards,
Artur