Book a Demo

Author Topic: EA_AllowTagUpdate not working for connetors  (Read 3898 times)

marc.zeller

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
EA_AllowTagUpdate not working for connetors
« on: April 30, 2020, 05:00:03 pm »
Dear all,

I try to create a C# add-in which triggers some action every time, that a tagged value is changes using EA_AllowTagUpdate. However, this only works for Parts and not for connectors. Do I need to implement another method which is triggered, when atagged value of a connector is changed?

Regards,
Marc

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA_AllowTagUpdate not working for connetors
« Reply #1 on: April 30, 2020, 05:12:47 pm »
I wouldn't be surprised if this only works for tagged values on elements, and not for tags on connectors, attributes, parameters, etc...

Seems like it should though, so I would send in a bug report.

Geert

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: EA_AllowTagUpdate not working for connetors
« Reply #2 on: April 30, 2020, 06:19:05 pm »
Hmm maybe

But tagged values on connectors are not actually TaggedValue elements they are ConnectorTags and held in a different table to that for element tagged values, same for attribute Tagged values and method Tagged values.

Don't event ask about Role Tags as they are entirely different even to the method that value and notes are stored!

So what's happening I guess is that the event EA_AllowTagUpdate is only being triggered when the table t_objectproperties (where element tagged values ate held) is about to be updated, and its not being triggered when the other tables are being updated.

But as Geert suggests submit a bug report and you never know, its worth a try

All the best

Phil
Models are great!
Correct models are even greater!