Author Topic: find profiles xmi in the model  (Read 265 times)

tzafrir

  • EA User
  • **
  • Posts: 127
  • Karma: +0/-0
    • View Profile
find profiles xmi in the model
« on: January 23, 2019, 06:11:16 pm »
Hi,

I am trying to retrieve information from the imported profile model that I use in my model (using import MDG to my model) with the AddIn that I am writing.
Does EA keeps the information it is importing in DB (if so in which tables?)
or does it have some reference to the profile xmi that I can parse (if so where is that reference held?)

Thanks,
Tzafrir

qwerty

  • EA Guru
  • *****
  • Posts: 10631
  • Karma: +234/-195
  • I'm no guru at all
    • View Profile
Re: find profiles xmi in the model
« Reply #1 on: January 23, 2019, 08:48:33 pm »
Any MDG information is kept in EA's internal memory. You can eventually read the XMI and interpret that. Good luck.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 9542
  • Karma: +275/-27
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: find profiles xmi in the model
« Reply #2 on: January 23, 2019, 09:41:32 pm »
MDG files can be stored in the model.
In that case they are stored in the table t_document
Code: [Select]
select * from t_document
where doctype like 'TECHNOLOGY'
The actual contents are stored in the column binContent, but I'm not sure how to decode the format used.
It seems different from the usual base64 encoded zip file.

Geert

PS. MDG files are in an xmi format, but not in xmi.