Book a Demo

Author Topic: Only receiving first result in Element Filter...  (Read 3739 times)

caseyyoung

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Only receiving first result in Element Filter...
« on: May 28, 2015, 03:09:06 am »

I am defining a document template and filtering elements based on stereotype.

I have a very basic Element Filter where "Stereotype" "Contains" "Capability".
It is only returning the first result.
When I disable the filter, I successfully see 6 results, including 4 that should meet the criteria.

I have tried structuring the filter in other ways using "Equals" and the negative version using "Not Equals", but I still receive only the first result.

What am I doing wrong, or is this a known bug in EA12?

Thanks in advance...

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: Only receiving first result in Element Filter.
« Reply #1 on: May 28, 2015, 03:10:23 pm »
If your elements are children see "Include child elements even if the parent element is filtered out" on:
http://www.sparxsystems.com/enterprise_architect_user_guide/12.0/reporting/rtfdocumentoptions.html

caseyyoung

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Only receiving first result in Element Filter.
« Reply #2 on: May 29, 2015, 03:35:15 am »
That's not the case.

Here's the example package:

-Package Xyz
--«Capability» a
--«Capability» b
--«Capability» c
--«Capability» d
--«Exchange» e
--«ServiceInterface» f

The Package has 5 elements, 4 of which are stereotyped as Capability.
I am filtering using Element Filter.  The template fragment has:

package>
element>
{Element.Name}
< element
< package