hyperlink
|
Specifies a hyperlink to a Dashboard or URL. The examples below illustrate how to use an array to pass parameters in the hyperlink.
Type
String, Array, or inetsoft.report.Hyperlink. For Array syntax:
-
The first argument is the URL or Dashboard name
-
The second argument is an optional parameter array
-
The third argument is
REPORT_LINK,WEB_LINK(default), orMESSAGE_LINKto transmit a message in the hyperlink -
The last argument is the target frame
Examples
// Link to Dashboard, no paramaters
Text1.hyperlink = "Tutorial/Interactive";
// Link to URL, no paramaters
Text2.hyperlink = "www.google.com";
// Link to Dashboard, including parameters
Text3.hyperlink = ["Sales Dashboard", [["parameter1", "value1"], ["parameter2", "value2"], ...]];
// Link to Dashboard, with target frame
Text4.hyperlink = ["Orders Dashboard", [["parameter", "value"]], "REPORT_LINK", "_blank"];
|
Either syntax below can be used in component script:
For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required. |