Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Richard Freggi on June 07, 2020, 02:11:41 am

Title: Import classes, attributes their description from flat file: mission impossible?
Post by: Richard Freggi on June 07, 2020, 02:11:41 am
As far as I know it's not possible to import classes, class description, their attributes and attribute description from csv, tab delimited or excel into EA.. including the MS office integration MDG or similar.  That's my understanding from reading the manuals... am I wrong?  Thanks!

p.s. my workaround would be to create a database with tables and attributes, include their comments and import that as DB reverse engineering, then do a package transformation. Bit it's a route I would prefer not to take.
Title: Re: Import classes, attributes their description from flat file: mission impossible?
Post by: qwerty on June 07, 2020, 04:51:47 am
Well, you can script that (maybe using the template importer in the EAScriptLib). But you need to think about how to put multidimensional data into a flat csv. People tend to just stick in redundant data (like repeating the class name for each attribute).

q.
Title: Re: Import classes, attributes their description from flat file: mission impossible?
Post by: Geert Bellekens on June 07, 2020, 05:43:02 pm
You can import classes and attributes, including description using my excel importer:
https://bellekens.com/ea-excel-import-export/ (https://bellekens.com/ea-excel-import-export/)

Geert
Title: Re: Import classes, attributes their description from flat file: mission impossible?
Post by: Richard Freggi on June 08, 2020, 12:03:47 pm
Thanks Geert!  I looked at your site before posting but somehow missed it!  Importer downloaded, thanks much!