How to export relationship in CSV format & GUI

938 views
Skip to first unread message

ddinh

unread,
Jan 12, 2012, 10:35:00 AM1/12/12
to sparx-enterprise-archite...@googlegroups.com
Hello,

I would like to export my whole model, but when I attempt to export my model, in the export specification, EA considers only metaclass "Element" which is really limited.

How can I include within my CSV export, the whole elements contained within my model ? (classifiers, relationships etc.)

1. I'm trying to use the "search" feature, I'm not able to include "relationship" within the result page. Maybe it's possible but I just don't find this feature.

2. I can manage to do this with Document export because he proposes what EA calls "connectors" but unfortunately GUID is not available in document export. If it was, I would have been able to create a CSV Template with GUID and then take benefit of the IMPORT CSV for getting back my Excel modifications within my EA model.

Any solution to propose ?

Thanks in advance,

Dorian.

[original message]

ddinh

unread,
Jan 12, 2012, 11:48:00 AM1/12/12
to sparx-enterprise-archite...@googlegroups.com
I managed to get my "class" and "association" through SQL request on my model.

However, does anybody know how to list directly in the search result, the elements related to one element (equivalent of the content of the "links" properties within a class in a diagram) ?

[original message]

Bellekens@localhost Geert Bellekens

unread,
Jan 13, 2012, 2:01:00 AM1/13/12
to sparx-enterprise-archite...@googlegroups.com
It looks like this is going to be a lot easier if you skip the EA search, and fill the excel file using code.
If you look for "export excel" you should find some example code in the forum.

Geert

[original message]

ddinh

unread,
Jan 13, 2012, 6:33:00 AM1/13/12
to sparx-enterprise-archite...@googlegroups.com
Hi,

There is no clue on excel interface within the whole forum.

The main issue is EA doesn't provide a simple editor for introspecting a model or even querying it with UML2 set of metaclass & metarelations...

Why providing a so static structure as table for querying a model ? I don't want tables, i need objects !

[original message]

Bellekens@localhost Geert Bellekens

unread,
Jan 13, 2012, 6:50:00 AM1/13/12
to sparx-enterprise-archite...@googlegroups.com
There's actually quite a lot, most of were responses with code snippets from me.

You just have to know how to search:
- Use the top left search button
- Search for "excel export"
- Select "Automation Interface, Add-Ins and Tools" forum
- Change "This post was made in the last..." into "(all posts)"
- Press Search
- Be patient

Geert

[original message]
Reply all
Reply to author
Forward
0 new messages