Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: pbarzin on May 06, 2021, 02:55:13 am

Title: Port on report
Post by: pbarzin 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
Title: Re: Port on report
Post by: Daiim 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.