Dashboards and Data feeds : Dashboards : Configure dashboard components : Assign data sources to dashboard components : Create input parameters
Create input parameters
You can create input parameters to enter dynamic values that are passed into the data transformation step (e. g. for filtering) or passed to the data source itself.
By means of parameters sets you are enabled to create dynamic URLs for your XML source and RAQL queries. The parameters are used to dynamically pass context from dashboards to applications via URLs. You can create dynamic URLs and query parameters providing required context to open URLs, invoke web services, etc.
The functionality is available in the Edit Data Source dialog.
Procedure
1. Click the Input parameters box.
2. Click the required input parameter type in the Add input parameters area.
Available are input parameters of Text, Number and Date type. The selection enables the dynamic entry of text, date or numerical values in data feed processing.
3. Enter a Name for your parameter set.
4. Enter an optional Default value.
The default value will be used if the input parameter is not filled by the dashboard context. For example, if the input parameter is filled by the selection of an other component and there is nothing selected.
5. Enter a Preview value.
The preview value is used to calculate a data preview (debug run) in the data assignment dialog. See data source assignment.
6. Click the Data flow box to display the data source overview.
The input parameter is displayed in the Input parameters box. The defined input parameters are only available for the current selected component.
You can use the input parameters for the XML, CSV, JDBC, MS Excel data source, RAQL queries and ARIS table of the current data source assignment. Available input parameters will be provided via an additional button by the data source operator.
If you use the input parameter in an XML data source URL, then you can specify, that the value of the parameter should be URL encoded. For an input parameter of Date or Number type you can additionally specify the format pattern.
In the BigMemory data source it's possible to specify the format pattern for an input parameter of Number and Date type.
To specify the parameter properties click on the inserted input parameter and select the option required. See also data source assignment.
Input parameters are also available for several data transformation operators, e. g. Insert column, to enter dynamic values into columns. Which input parameters are provided, depend on the selected data type of the relevant column.
The input parameters are also provided as filter elements by the dashboard component. See Define filters for dashboard components for details.
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback