Author Topic: Manual addition of tagged value  (Read 2830 times)

Kdo

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Manual addition of tagged value
« on: December 07, 2010, 09:11:39 pm »
Hello,

I would like to add a tagged value to an object defined in my own profile and added using MDG. As this change is not propagated to the objects already created, I would like to add a new tagged value to these objects by modifing database of EA directly.

I have inserted a row to the t_objectproperties table and it adds a tagged value as I needed. But I cannot set its type (reference to specified Stereotype). It is set to a different one to what is defined in the profile as well.

According to the users guide, there should be an Object Type attribute in this table, but it is missing in my databse. Is it the one that solves it?

Do you know solution to this? Could you please help?

Thank you.

Honza

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8078
  • Karma: +118/-20
    • View Profile
Re: Manual addition of tagged value
« Reply #1 on: December 08, 2010, 08:36:27 am »
ObjectType is a property of the automation interface, not the database.

For your tagged values it will return an enumeration value of otTaggedValue.  (Or something like that)

Kdo

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Manual addition of tagged value
« Reply #2 on: December 08, 2010, 08:50:05 pm »
I see. Thank you.

But how can I set the type of a tagged value? I guess a tagged value is joined with its specification in a profile using its name (attribute Property in the project and Target role in the profile). But when I add a row to the t_objectproperties table, it takes a wrong type (ie. it references to a different object). Do you have any idea what I do wrong? Or generally speaking, how to keep a project and an MDG profile synchronised (ie. changes in the profile propagates to the objects in a project) ?

Thank you.

Honza

Michael Proske

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Manual addition of tagged value
« Reply #3 on: January 07, 2011, 04:14:44 am »
Hi
Have you added the tagged value with the technology name in front ? This caused problems when i added changed tagged values to my items.