Book a Demo

Author Topic: Renaming tagged values / extending enum value  (Read 3488 times)

Michel777

  • EA User
  • **
  • Posts: 228
  • Karma: +0/-0
    • View Profile
Renaming tagged values / extending enum value
« on: August 03, 2013, 07:12:05 am »
Hi,

we started a very big project, we expect  over thousands requirements. We need to group the requirements based on different kind of attributes, e.g. organizational unit, process-steps, ... Because we don't know all the attributes today, we are going to defines a couple of dummy-attributes (all enumartions) named like att1, att2, att3 with enum values att1_val1, att1_val2,..., attn_valm.

But how to Change the names of attributes and values and how to add additional  values ? If it is possible without change the database directly ?

Thanks lot
Michel

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Renaming tagged values / extending enum value
« Reply #1 on: August 03, 2013, 07:24:00 am »
You need to do that via SQL. The enum for tagged values is stored in the Notes column (e.g. that from the help:
Quote
Type=Enum;
Values=Val1,Val2,Val3;
Default=Val2;
). If you want to add new values you need to modify the notes (e.g. to be
Quote
Type=Enum;
Values=Val1,Val2,Val3,Val4;
Default=Val2;
to include Val4 additionally).

q.

Michel777

  • EA User
  • **
  • Posts: 228
  • Karma: +0/-0
    • View Profile
Re: Renaming tagged values / extending enum value
« Reply #2 on: August 03, 2013, 07:38:24 am »
Thank you very much !

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Renaming tagged values / extending enum value
« Reply #3 on: August 03, 2013, 08:10:54 am »
Ups. I wrote this from my memory which seemed to have deceived me. I'm pretty sure having seen it this way in older EA versions, but V10 seems to behave different. I'll have a closer look and will come back with details.

q.

[edit] In V10 it is sufficient to modify the entry in the Default Tagged Values. You need to de-select the current element and select it once again. Then the tagged values show the new list.

I have not yet tested how it works with tagged values from a profile.

[edit2] Profiles seem to be more difficult. I changed an enumeration and newly created elements had the modified list, but old ones did not show the modification but only the old list.

[edit3] Ups, ups :-) Profiles set the list as I wrote above as list in the notes. You see that when you select the tag. It then shows something like "Values: a, b, c;".
« Last Edit: August 03, 2013, 08:30:37 am by qwerty »