Dashboards : Use dashboards in view mode : Use dynamic URL selection
Use dynamic URL selection
By specifying URL parameters you can dynamically select specific elements of dashboard components, e.g. a grid row, a combobox entry, a pie slice, etc. When you call a dashboard via URL in the view mode the elements are automatically preselected and, if applicable, the preselected elements are used as filter or action trigger.
You can select the URL parameters required for dynamic URL selection in a dashboard component's properties menu and copy them to the clipboard. You can set a preselection based on data columns for each dashboard component that supports data preselection, e. g. Grid, Input field or several charts.
Procedure
1. Create or open a dashboard in MashZone NextGen Dashboard.
2. Click an inserted chart component that supports data preselection. The relevant properties dialog is displayed.
3. Before you set a preselection you have to assign the relevant data columns to the component. See Assign data sources to dashboard components.
4. Click the URL selection tab.
5. You can enter a component id in the URL-ID input field. If you change the preset id you have to choose a unique id within your dashboard and you have to save the dashboard to persist the new URL-ID.
6. The URL example field contains an URL selection of the components including all assigned data columns and corresponding dummy values.
7. You can edit the URL selection according to your requirements in the URL example field.
Expected formats:
*number : no thousands separator and a dot for decimal separator
*date / time : yyyy-MM-ddThh:mm:ss
*text : no restrictions (just URL encoded)
8. Copy the URL selection to the clipboard. If your browser supports this function a Copy to clipboard button is available.
The URL parameters get copied to the clipboard of your operating system (URL encoded).
9. Add the parameters to an URL that you want to use for calling a dashboard and enter the URL in your web browser.
The dashboard will be displayed with the preselection in the view mode.
Example
Preselection parameters
&cn16.Time=2015-12-23&cn16.Location=New%20York
URL with added parameters
http://<local host>:8080/presto/hub/dashboard/dashboard.jsp?editmode=false&guid=0bd1cbcc-49d2-4cb1-a5fe-72cfdc624cda &cn16.Time=2015-12-23&cn16.Location=New%20York
These URL parameters get applied when you open the dashboard. To apply a modified preselection, you need to reload the dashboard page. But you can also apply a selection in an opened dashboard without reloading the whole page. For that, the selection string has to start with #... instead of &...
...#cn16.Time=2015-12-23&cn16.Location=New%20York
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback