Author Topic: How to link existing elements to new UML Profile  (Read 1092 times)

Pawel Miechowiecki

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
How to link existing elements to new UML Profile
« on: June 19, 2015, 12:18:47 am »
Hi

I have got model done by others. They used their own UML Profile to create elements (ActionPin) with Tagged Values. I have created my own UML Profile with the same name of stereotype with new set of avaliable Values in Taggged Values and I would like to connect old ActionPins do my UML Profile. Where is stored the connection?

I tried to update them GUID in t_xref.decription
"@STEREO;Name=COSMICPin;GUID={81973DC2-CF58-4ff9-8E96-B2B6804B86A5};FQName=CosmicPin::COSMICPin;@ENDSTEREO;"
The GUID is from  Select ea_guid from t_stereotypes where stereotype=’COSMICPin’ and appliesto=’ActionPin’ where is storred information about my UML Profile, but it is not enough.

I even tried to update them t_objectproperties SET notes = 'Values:new,list,of,values', but in EA I still see old values.

New elements has proper Tagged Values - the look the same in t_object, they has the same type and stereotype like the old ones but they dont even work the same.


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 8482
  • Karma: +207/-26
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to link existing elements to new UML Profi
« Reply #1 on: June 19, 2015, 12:50:17 am »
There's a synchronizeStereotype operation somewhere that should do the trick.

Geert

Pawel Miechowiecki

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: How to link existing elements to new UML Profi
« Reply #2 on: June 19, 2015, 01:04:00 am »
Thanks a lot Geert,

Toolbox -> Right mouse button on my new element -> Synchronize Stereotype

solved my problem.