Book a Demo

Author Topic: Port on report  (Read 2577 times)

pbarzin

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Port on report
« on: May 06, 2021, 02:55:13 am »
Hello everybody,

I would like to only output on a report the Port of a block defined with SysML.

For that I use Element>Embedded element but I have all embedded element. (property and port). I try to use the filter (element filter, exclude filter,...) during the document generation but it doesn't work. I think the filter is working on the Element only and not on embedded element.

There is another way realize it?

Thanks a lot,

PP

Daiim

  • EA User
  • **
  • Posts: 51
  • Karma: +0/-0
    • View Profile
Re: Port on report
« Reply #1 on: May 14, 2021, 08:13:44 am »
Embedded elements are in the same table as elements but linked with their parent_id to the element they are embedded within. Use an sql query to select the embedded element for an element with the placeholder #ELEMENTID# for your WHERE clause expression to select the right element. Maybe you should specify more filter criteria as ObjectType, Stereotype etc.