Learn to configure the <filter>
element for Pull Reports™ Ad Hoc
report and data service software.
Catalog Configuration Java API analog:
CannedQueryConfiguration.Builder#setFilterTemplates
A <filter>
contains the filter
parameter value
for a <canned_query>
.
The <filter>
element may contain any construct supported by Groovy's
SimpleTemplateEngine.
For instance, expressions embedded within the <filter>
may use Groovy or Java operators
and invoke static method calls such as java.lang.System.getProperty(String)
.
Additionally, the
HttpServletRequest
associated with the
Report Information
request is available as a the request
template binding variable. This allows the <filter>
value to be responsive to HttpServletRequest
state.
See <canned_query>
for example usage.
<canned_query> |