...
The drill-linking extension provides a declarative way to specify the link target and its parameter in a declarative way. This way, the drill-link definition can be well-defined while at the same time its result can be computed.
The drill-link backend (pentaho-reporting-engine-extensions-
...
drill-down)
The link-computation is performed by a single formula function called "DRILDOWNDRILLDOWN".
Info | ||
---|---|---|
| ||
Summary: Computes a drill-down link as text. Syntax: DRILLDOWN (Text profileName; Text solution; Text reportPath; Text reportId; Array parameter ) Returns: TEXT Constraints: Parameter-array is a 2x2 array with name value pairs.
Semantics: The actual work is done by the profile implementation in the background. Right now, there are two implementations, a simple pattern (message-format) profile and a formula based profile. The profile must be defined in the meta-data. Whether value of solution, reportPath and ReportId is actually used depends on the configuration of the profile given. The parameter array must be given, even if it is empty. Each profile is defined to compute a URL or to throw an Evaluation-Error if some of the values are illegal. |
...
Drill-Down profiles pointing to services provided by Pentaho will deliver a list of available parameter to the UI. The parameter-list will contain both the system-level parameter (for "local-prpt", for instance, the system parameter list will contain all defined parameter of the reporting plugin) along with the user-defined parameter.
...
Parameter-Names and Parameter-Values can either be static (hardcodedhard coded) values or values computed at runtime (any formula term, function or field-reference will work).
...
This only works if the report is run in the platform.
Drilling into a new Tab
To open a report in a new tab within the platform use the following formula function:
Code Block |
---|
=OPENINMANTLETAB([url]; [tab-text])
|
This creates the following javascript-url:
Code Block |
---|
javascript:top.mantle_openTab('<contents of tab-text>', '<contents of tab-text>', '<contents of url reference>')
|