Book a Demo

Author Topic: Profiles and tagged values...  (Read 2622 times)

NT

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Profiles and tagged values...
« on: June 18, 2008, 07:58:46 pm »
I've created a profile with stereotypes and tagged values (e.g. <<server>>  with tags CPU, RAM etc.).
I can import the profile into my model and use the stereotypes.
However, if I open the profile and add a new tagged value to the stereotype (e.g. HDD), and re-import into my project - any existing instances of server are not updated. i.e. only new instances have the additional HDD tagged value.

Is there a way to get existing to update themselves with the new tagged value?


NT

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Profiles and tagged values...
« Reply #1 on: June 18, 2008, 08:58:00 pm »
Sorry, I've answered my own question.
I've found that each stereotype in the Resources view has a 'sync' menu.
However, I've added a 'test' tagged value to the profile and when I press 'sync' nothing happens, and the existing instances are still missing the tag.

Are there any obvious reasons for this (e.g. I've regenerated something through ignorance)?

NT

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Profiles and tagged values...
« Reply #2 on: June 18, 2008, 10:55:45 pm »
I'll add this in-case it helps someone else.
Any stereotype defined in a profile that is derived from Metaclass Device will not sync when you alter tagged values.
Use the metaclass Node instead - this does appear to sync.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Profiles and tagged values...
« Reply #3 on: June 18, 2008, 11:27:28 pm »
Have you reported the problem with Metaclass Device to Sparx directly?

If not please submit a bug report via the link near the bottom of any forum page. That will get the problem into Sparx' queue.

Thanks much,
David
No, you can't have it!

NT

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Profiles and tagged values...
« Reply #4 on: June 19, 2008, 12:46:48 am »
Thanks for the pointer...it's done.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Profiles and tagged values...
« Reply #5 on: June 19, 2008, 02:21:57 am »
Thanks,

If Sparx responds to you directly - they often do - please post back here and tell us what they have to say, to keep the rest of in the loop.

David
No, you can't have it!