Versions Compared

Key

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

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:
 

...

  1. Span
    stylecolor:#000000;
    In the Dashlet Properties dialog box for your chart, click Create Links in Parameter Mapping to open the Parameter Mapping window.


  2. Span
    stylecolor:#000000;
    In the Filter row where you want to add the new filter, click the Add button . A row containing new Affected Dashlet and Filter/Parameter dropdown menus appears.


  3. Span
    stylecolor:#000000;
    Using these new line-items, select the dashlet where you added a parameter, then select the parameter.


  4. Span
    stylecolor:#000000;
    Click the OK button to apply and save, or the Cancel button to discard your changes.


and Dashboard