Book a Demo

Author Topic: Tagged Value of type Enumeration - refreshing  (Read 3670 times)

Matt H

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Tagged Value of type Enumeration - refreshing
« on: June 10, 2014, 11:08:19 pm »
I have a stereotype which includes a Tagged Value of Type=Enumeration.

For instances created from the stereotype, the drop-down list for the Tagged Value is populated as expected however changes to the enumeration are not reflected (eg if I add a value to the enumeration it's not reflected in the drop-down).

What do I need to do to "refresh" the drop-down list from the enumeration?

Sorry if this is obvious.


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Tagged Value of type Enumeration - refreshing
« Reply #1 on: June 10, 2014, 11:50:11 pm »
Try to synch the stereotype from the toolbox context menu.

Might be that won't help. If so you need to script the changes.

q.
« Last Edit: June 10, 2014, 11:51:07 pm by qwerty »

Matt H

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Tagged Value of type Enumeration - refreshing
« Reply #2 on: June 11, 2014, 12:24:57 am »
Thanks qwerty, that did indeed help.  Strangely I thought I had tried that and it hadn't worked, must be user error!

Matt H

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Tagged Value of type Enumeration - refreshing
« Reply #3 on: June 11, 2014, 12:40:00 am »
Quick update in case it helps anyone - re-generating and then re-importing the MDG technology containing the stereotype and enumeration allows "Synchronize Stereotype" to work.  A bit cumbersome!

skelly

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Tagged Value of type Enumeration - refreshing
« Reply #4 on: June 13, 2014, 12:29:52 am »
It doesn't always work though... I've seen cases where new stereotyped objects have the new enum value in the dropdown, but old ones don't, even if the stereotype is sync'd, probably because the tag was already on the object, though that doesn't really make sense.  It seems a little quirky, and no I don't have time to generate a sample to reproduce it!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Tagged Value of type Enumeration - refreshing
« Reply #5 on: June 13, 2014, 05:17:54 am »
It might depend on the EA version you use.

q.