Other controls are check boxes, list boxes, option buttons, drop-down lists, calendar controls (apply limits that contain a date or timestamp data type), and tree controls. These procedures examine configuring the controls individually. To configure the controls, ensure that Design mode (Ctrl+D) is activated.
To configure check box controls:
Select a sample query limit check box, right-click, and select Properties.
Properties is displayed.
In Name, replace User_Limit with the name of the query limit to be set.
For example, to associate the limit called Quarter, replace User_Limit^Hysl_qql^cbx^1 with Quarter^Hysl_qql^cbx^1.
In Title, enter the associated query limit value.
For example, enter Q1.
Click OK.
Copy and paste as many instances as required, and configure each instance.
To configure option button controls:
A choice of two option buttons can be configured. Perform an action:
Select All
Right-click All and select Properties.
Properties is displayed.
In Name, replace User_Limit with the name of the query limit to be set.
For example, to associate the limit called Order Date, replace User_Limit^Hysl_qql^rbt^all with Order_Date^Hysl_qql^rbt^all.
Enter a Title.
Click OK.
Select a sample option
Copy and paste as many instances as required, and configure each instance.
Option buttons operate in groups. Only one option in a group is selected at a time. If multiple groups of option buttons exist, assign a unique name for each group.
Click , and move to Quick Query Limit Properties.
From Unconfigured Option Buttons, select an option.
In Custom SQL, perform an action.
An example of custom SQL statement is “periods_days.month_number >=1 AND periods_days.month_number <=4”.
Move selected options between Unconfigured Options Buttons and Option Buttons with Custom SQL by clicking and
.
If All was not selected, configure the Custom SQL for the other option buttons.
It is not necessary to specify the Custom SQL for All.
Click Apply.
Move to Query Panel and click .
To configure list box controls:
Select a sample query limit list box, right-click, and select Properties.
In Name, replace User_Limit with the name of the query limit to be set.
For example, to associate the limit called Quarter, replace User_Limit^Hysl_qql^lbx^1 with Quarter^Hysl_qql^lbx^1.
Optional. Change the order in which Dashboard Studio loads query limits. (The default is to load query limits in ascending order.)
To configure a list to load values in descending order, add ^d as the fourth part of the object name (for example,. Region^Hysl_qql^lbx^d^2).
To configure a list to load values without sorting, add ^n as the fourth part of the object name (for example, Region^Hysl_qql^lbx^n^2).
Note that ^n is only recommended when the source for limit values is set to be a cached results or table section. This option is not recommended where lists are populated from more than one value source.
Click OK.
Each list box can have associated buttons and a text box.
The available buttons determine the level of control exercised by the end user. These are guidelines:
If users select values from the list and nothing else, all sample buttons and text boxes can be deleted
If users select or clear all values, All and Clear must be configured, and the remaining buttons must be deleted
If users add custom values to the list, the text box and Add and Remove, must be configured
If users refresh the list of available values, Ref must be configured
If a list box contains a large number of values, it can cause the Query Panel to be slow (Therefore, restrict the number of values to be displayed in the list box, and configure a text box and Ref to enable users to scroll through the values)
If limit values are not cascading, exclude Ref
Configure buttons or text boxes to be associated with the list box, by replacing User_Limit in the button or text box name with the query limit to which the list box points.
Copy and paste as many list boxes, and associated buttons and text boxes as required, and configure each instance.
To configure drop-down list controls:
Select the sample query limit drop-down list, right-click, and select Properties.
Properties is displayed.
In Name, replace User_Limit with the name of the query limit to be set.
Optional. Change the order in which Dashboard Studio loads query limits. (The default is to load query limits in ascending order.)
To configure a list to load values in descending order, add ^d as the fourth part of the object name (for example,. Region^Hysl_qql^lbx^d^2).
To configure a list to load values without sorting, add ^n as the fourth part of the object name (for example, Region^Hysl_qql^lbx^n^2).
Note that ^n is only recommended when the source for limit values is set to be a cached results or table section. This option is not recommended where lists are populated from more than one value source.
Click OK.
Ref is available with drop-down lists. Configure Ref by replacing User_Limit with the query limit that was configured for the drop-down list.
Copy and paste as many drop-down lists and instances of Ref as required, and configure each instance.
To configure calendar controls:
Select Clear, right-click, and select Properties.
Properties is displayed.
In Name, replace User_Limit with the name of the query limit to be set.
A query limit can be a date or timestamp data type.
Only one calendar button (Clear) can be renamed.
Click OK.
Copy and paste as many calendar controls as required, and configure each instance.
Optional: To duplicate a calendar control, drag the mouse over the calendar to select all shapes, hold the Ctrl key, and drag the shapes to another part of the frame.
See “Adding and Configuring Calendars,” in the Hyperion Interactive Reporting – Object Model and Dashboard Development Services Developer's Guide, Volume 5: Dashboard Studio.
To create a date range:
Perform these actions to create a from and to date limit in a query:
In the query, drag a date column onto the Filters line.
In Filter, enter a Name.
For example, enter From.
Set the operator to >=.
Click Show Values, select a date, and click OK.
From the query, drag the date column onto the Filters line again.
In Filter, enter To as the Name.
Set the operator to <=.
Click Show Values, select a date, and click OK.
On the dashboard, create two calendar controls.
See “Adding and Configuring Calendars,” in the Hyperion Interactive Reporting – Object Model and Dashboard Development Services Developer's Guide, Volume 5: Dashboard Studio.
Name the calendars, From and To.
These calendars set values in the query limits defined in step 1.
Tree controls are part of another component and include a separate configuration frame. See Configuring the Tree Component.
To configure query limit tree controls:
Copy and paste as many tree controls as required.
Move to QIQ Tree Limit Properties.
From Tree Limit Objects, select a tree control to configure.
Select Query Limits.
From Hierarchy Source, select an item.
Select the query limits to be displayed in the tree limit control.
Configure the other query limit tree controls.
Click Apply, and return to Query Panel.
Available values are displayed in Currently Selected Query Limits.