Book a Demo

Author Topic: MDG Technology: Tagged Value Types not imported  (Read 4443 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
MDG Technology: Tagged Value Types not imported
« on: September 17, 2009, 05:14:15 pm »
Hi!


I've constructed a fairly large MDG Technology with a few dozen stereotypes, toolboxes, diagrams, code generation templates, and MDA transforms.
These all work when I import them (using Settings - MDG Technologies).

I have also defined a few Tagged Value Types, which are used in some of the stereotypes. These do not get imported with the MDG Technology.

I am definitely using the MDG Technology creation wizard correctly. I have checked and the type definitions are clearly present in the MDG XML file.
I have also verified that if I copy the definitions manually from the project where they're defined to the project where the MDG Technology is imported, the tags in the stereotypes which use them work instantly with no need for restart or refresh - so the definitions are syntactically correct (I use some Custom ones for things like six-digit strings etc).

Has anyone else observed this behaviour? Is there a simple fix?


Cheers,

/Uffe
My theories are always correct, just apply them to the right reality.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: MDG Technology: Tagged Value Types not importe
« Reply #1 on: September 17, 2009, 08:23:27 pm »
This looks a bit like some other symptoms that have been reported in the forum over the past month or so. I have not tried testing these (or your report) myself so I cannot be sure. Still, it seems that recent builds (or perhaps all of 7.5) don't import (some or all) tagged values with an MDG Technology. Or perhaps the values are imported but are not visible to users, which could lead to similar symptoms.
No, you can't have it!

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: MDG Technology: Tagged Value Types not importe
« Reply #2 on: September 18, 2009, 04:53:13 am »
Well I'm pretty sure they're not imported-but-invisible, because if they were, wouldn't they still provide the functionality in the tags which used them?

Be that as it may, I've found the solution.

The whole Tagged Value Types option in the MDG Technology Creation Wizard is one big fat greasy red herring (being a Swede, I know all about these tasty little morsels).

What you need to do in order to get your Tagged Value Types across to your deployment environment is to do Export Reference Data - Property Types, drop the resulting file in a shared directory, then (in the deployment projects) select Import Reference Data - Shared File, and select the file.

This is not entirely dissimlar to the way EA is configured to look for MDG Technologies (under Settings), but there are some differences:
  • For MDG Technologies you specify a directory or a URL, for reference data it's a file and one or more Datasets within it;
  • With reference data, you can tell EA to confirm the import (EA will alert you when the imported datasets have changed);
  • Reference data settings are per project, MDG Technology configuration is per user
So there is a way around it, which is good. A consistent way of configuring these things would be even better.


Cheers,


/Uffe
My theories are always correct, just apply them to the right reality.