- This topic has 4 replies, 2 voices, and was last updated 10 years, 2 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 › Data Dictionary – exclude attributes
Home › Forums › eaDocX queries › Data Dictionary – exclude attributes
We are trying to create a Data Dictionary for our class data model to include class name and attributes names, each with a Data Definition ( text captured currently in the Notes field).
I have managed to create a document to display the class name and the class definition ( in line) and a table of attributes and definitions underneath.
So far so good.
Next, we would like to be able to exclude some of the attributes from the document (the PKs and FKs).
We have marked them as ‘exclude’ the the document template , they show as excluded (grey cross againt them) however they are still present in the document.
We did try to exclude a class in the same way and it worked well (is displayed in the document elements tree as excluded) and is not showing in the document.
Any help highly appreciated,
This is not possible with native eaDocX, because when the PK/FK attributes are created, they don’t seem to have useful stereotypes. If they did have e.g. <
There is another way out: use an eaDocX Script.
Tell eaDocX to use a script to print Attributes, then in the script, filter-out the ones you don’t want. A bit messy, but VERY flexible.
There are some sample scripts on the website at https://store.eadocx.com/web-downloads/scripts
thank you.
I have now created a new stereotype ‘FK’ in EA and applied it to the appropriate attributes )and they are shown as such in the class diagram).
I have used ‘Add element…’ feature in eadox (under Profile) – selected ‘attribute’ for the Element Type, then selected FK from the drop down list of available stereotypes.
Also selected the Style : None – do not print.
I have received a confirmation message that none of the FK attributes will be included in the document (which is what we want).
Regenerated the document but unfortunately the FK stereotyped attributes are still present in the document.
Are we missing something?
I am happy to share the .eap if it helps – it’s just a small test one with 3 classes and a couple of attributes.
many thanks,
Silvia
Sounds like you are doing everything right!
Can you conform which eaDocX version you are using ?
Also, how did you change the stereotype of the PK attributes? When I created an example model to test this, I used EA’s Transformation mechanism, which makes class.attribute into <
Just checked that <
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