Book a Demo

Author Topic: IDs in XMI import  (Read 2771 times)

oli_atc

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
IDs in XMI import
« on: January 29, 2014, 01:08:26 am »
Hi,

I have to import Elements from an external tool that provides a proprietary xml output.
I managed to transform that via xslt to an XMI 1.1 file that I can export as a package into EA.

Unfortunately EA does not keep the IDs I provide in the XMI file.
Hence, whenever I repeat/update the import a new package is generated.

Is there a way to make these IDs "stable" that EA does not change them?
Any hint is appreciated!

regards
Oliver

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: IDs in XMI import
« Reply #1 on: January 29, 2014, 01:38:35 am »
Oliver,

You'll have to trick EA into thinking the id's are ea specific id's.
I would export a portion to xmi and inspect the contents to figure out how EA does it.
The format should be something like
Code: [Select]
xmi:idref="EAID_F5B82221_80EC_4d63_994D_7DAD834489AD"
Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: IDs in XMI import
« Reply #2 on: January 29, 2014, 02:22:37 am »
There are a couple of "tricky" GUIDs used where EA puts some prefix/suffix in front/back (don't remember) so part of the GUID is the same as others. That happens (IIRC) for methods/parameters.

q.