Book a Demo

Author Topic: Tagged Values in MDG Technologies  (Read 3147 times)

Ross@NZ

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Tagged Values in MDG Technologies
« on: January 13, 2012, 08:34:52 am »
I am working on an MDG technology where I want to use  Tagged Value types as attributes for my Stereotyped elements

I have a Tagged Value Type called Owner - which is a lookup

If I add a Attribute call Owner to a stereotype - generate my MDG and it uses the lookup - but only in the EAP that the Tagged value is defined in.

When I include the profile and the taggedvalue in a MDG the only way to reference the Tagged Value is to use the MDG ID as a namespace preceeding the tag name.

I.e MYMDGID::Owner which while it works is not very friendy.

How can I bind the Tagged Value to the stereotypes Tag without having the use the prefix.

I have looked at the MDG Sparx Systems provide and they don't have this problem - however the tags appear differently in the output XML file
Example
Sparx Systems: This works

<Tag name="SubProcessRef" />

My MDG: Doesn't work

<Tag name="SubProcessRef" type="int" description="" unit="" values="" default="1" />

Clearly there is a difference. Is there a process that I need to follow to make it work for me.

I know that I can use the tagged value connector in the Profile for Guid lookups but I have the same problem with DatetTme Tagged Values and other Types that I am using.

Looking forward to your reply

Regards
Ross



« Last Edit: January 13, 2012, 08:36:18 am by RossNZ »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Tagged Values in MDG Technologies
« Reply #1 on: January 13, 2012, 10:37:45 am »
I had the same issue but no solution except to re-define the tagged values with the default tagged value editor. I reported that some time ago as a bug (that tagged value types are not respected in the MDG) and IIRC it had been recognised by Sparx. But no solution so far.

q.

[edit:] I scanned my mail and added the bug in my list here: http://www.assembla.com/spaces/enterprise-architect/tickets/59-mdg-and-tagged-values
« Last Edit: January 13, 2012, 10:51:14 am by qwerty »