Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Div
idRelatedTopics

 

You can add parameters to Dashlet names, text Dashlets, web page Dashlets, and hyperlinks in Chart Dashlets.


When you add a parameter, you must map a filter in the Dashboard to the parameter.

 

 Simple Parameters
 
For text dashlets, web links, and dashboard names, use the syntax "$P{parameter_name}" to directly pass the parameter value to the web page.

...

For repository hyperlinks in a chart dashlet, use the syntax "?filter_in_target=$P{dashlet_param}."
repo:/public/Samples/Reports/05._Unit_Sales_Trend?c_country_1=$P{Store Country} 

To find the correct name for a filter in a target resource, open the Dashboard Designer in a new window, and add the resource to the canvas. Then expand the resource's folder in the Filters panel and hover over the filter whose name you want to see. 



Parameters in Multi-Valued Input Controls

For multi-valued input controls, you can define a separator for the input control values:
 

  • Span
    stylecolor:#000000;
    For text dashlets, web links, and dashboard names, use the syntax "$P{parameter_name ? "separator"}." The following example in a text box displays results like "Product Family: Drink + Food": Product Family: $P{Product Family ? " + "}
     

     

  • Span
    stylecolor:#000000;
    For repository links in a chart dashlet, use the "syntax ?$P{"filter_in_target=", dashlet_param, ? "&"}."For example, the following link allows multi-select with the "c_country_1 input control": repo:/public/Samples/Reports/05._Unit_Sales_Trend?$P{"c_country_1=", Store Country, "&"}




Parameters in the Parameter Mapping Window

After you have created a parameter, create a mapping for it by completing the following steps:
 

...