Book a Demo

Author Topic: Extract components from elements in RTF generation  (Read 3558 times)

rmjgeek

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Extract components from elements in RTF generation
« on: June 07, 2013, 11:52:08 pm »
Hi,

I am generating RTF documentation from my EA model.
My concern is that I want to have a table which lists the components in the diagram. I achieve this by adding sections diagram:elements but this also lists the packages, connectors etc from the diagram.
I want to have only the element typed component in the table.

Could you guide me on how to achieve this? Can I have a template fragment with the SQL query which will extract only the components from the elements?
« Last Edit: June 07, 2013, 11:52:59 pm by rosemaryjoshy »

Stefan Bolleininger

  • EA User
  • **
  • Posts: 308
  • Karma: +0/-0
    • View Profile
Re: Extract components from elements in RTF genera
« Reply #1 on: June 08, 2013, 01:33:30 am »
Hi,

you could use the element filters and filter by object_type equals "component" as a required information.

This can be done without the fragments, directly by the template's element filters in Template options.

Regards

Stefan
Enterprise Architect in "safetycritical development" like medical device industry. My free Add-in at my Website

rmjgeek

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Extract components from elements in RTF genera
« Reply #2 on: June 10, 2013, 10:28:46 pm »
The elements in the generated documentation is included from the external references.
In the documentation I show the diagram and under that show the elements in the diagram. So the purpose is to only show the list of components in the diagram under the elements and not the boundary, package etc from the diagram.
Moroever even if I try to filter elements with Object Type Equals Components it is included in the documentation.

ggandhi

  • EA User
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Extract components from elements in RTF genera
« Reply #3 on: December 24, 2013, 03:11:08 am »
Element Filter 1
Field: ObjectType
Condition: One of
Value: 'Package'
Required: Uncheck

Element Filter 2
Field: Stereotype
Condition: One of
Value: 'Component'
Required: Uncheck

Try these element filters together. ;)