Book a Demo

Author Topic: RTF Documentation - Element filtering  (Read 4310 times)

TonyN

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
RTF Documentation - Element filtering
« on: June 03, 2016, 04:34:54 pm »
Hi Forum.

I want to create an RTF that only reports on elements that have operations.  I have tried all sorts of filters in various fragments and cannot seem to get an approach that works.  Any assistance would be greatly appreciated.

Kind regards,
Tony

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: RTF Documentation - Element filtering
« Reply #1 on: June 03, 2016, 05:37:02 pm »
Hi Tony,

What you could do is use a virtual document and use an (SQL) search to determine to set of elements to report on.

Geert

TonyN

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: RTF Documentation - Element filtering
« Reply #2 on: June 06, 2016, 03:12:19 pm »
Hi Geert,

Thanks for your prompt reply however that int quite what I am after as the model search works across the whole model and I am only after the elements the current package (or sub package), that have operations and not the whole model.

Can you see any way of achieving that kind of filter.

BTW: the model search SQL I used is
SELECT t_object.ea_guid AS CLASSGUID,
   Object_Type AS CLASSTYPE,t_object.Name
FROM t_object, t_operation where t_object.Object_ID=t_operation.Object_ID
group by
   t_object.ea_guid,
   Object_Type,
   t_object.Name

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: RTF Documentation - Element filtering
« Reply #3 on: June 08, 2016, 04:13:05 am »
You can pass a parameter to the search in the tagged value of the model document.
Use that to limit the result to only the ones that matter.
I usually use the the GUID as parameter.

Geert