- This topic has 4 replies, 3 voices, and was last updated 9 years, 11 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Home › Forums › eaDocX queries › Documenting Data Mapping
Home › Forums › eaDocX queries › Documenting Data Mapping
I am using the EA “connect to element feature” functionality to create data mappings between two classes. For example: http://www.sparxsystems.com/enterprise_architect_user_guide/10/modeling_basics/connect_to_element_feature.html
I am new to eaDocX Excel and I am trying to figure out how to create a spreadsheet that shows: Source Class Name, Source Attribute Name, Destination Class Name, Destination Attribute Name, and Relationship Notes. I’m guessing that “Add Relationship Feature” in eaDocX is the way to do this, but I can’t figure out how to show the relationships between attributes.
Any ideas or help would be greatly appreciated.
From my reading the attribute-to-attribute association information is stored in the “StyleEx” string for the association itself.
In this string Sparx stores the GUID of the attribute element(s) involved in the association.
The two ends of the association are still the regular elements, the extra attribute information is stuffed in this StyleEx string of the association.
I don’t see any easy way to translate the stored GUIDs when using eaDocx.
This should be doable using a script, and letting eaDocx invoke the script.
Looking at the eaDocX code which finds this data, KenN is quite right that its in the StyleEx field of the connector between the elements, where the StyleEx is either “LFSP” or “LFEP”
“…the eaDocX code which finds this data…”
So is there an eaDocX feature that can expose this information in an output document?
Yes – there are standard attributes (of most element types) which are ‘Element Feature link’ and ‘Element Feature link Alias’. These will print most of this stuff which is connected by the EA Element Feature linking mechanism, and print either the name (hyperlinked) or the Alias(hyperlinked) of the target of the link.
At the moment (as if v3.5) these Element Feature Links don’t appear in the ‘Model Expert’ meta-model bit of eaDocX: we’re working on an update to this to discover these more obscure corners of EA!
Download eaTeamWorks today for several free for life features, plus no obligation, 30-day trials of all the products: eaDocX, ea Revision Manager, eaSheets, Model Expert and PortfolioManager. Discover for yourself why we sell the world’s best-selling Enterprise Architect extension.
Download