A Data selector is a user interface control for selecting a row in a dictionary table. By adding filters and sorters to a data selector, the best matches based on customer requirements can be presented at the top of the list. There is also support for setting parameters from data selectors.
The data source for any data selector is a dictionary. Which columns in the dictionary are to be presented, their order and titles can be defined for the data selector.
A data selector can also have calculated columns that allow for the combination of static data from a dictionary with configuration data. For example, if the dictionary has electrical resistance in a column and the user configures the voltage via a parameter, the current can be displayed in a calculated column in the data selector.
Data selector extensions
The behavior of a data selector can be modified by adding child objects of these types:
Settings
Data selectors have the following settings:
Setting name |
Description |
|---|---|
Name |
Name of dictionary used for referral in expressions. Note! The names are identifiers which means that they must start with a letter or underscore and may only contain letters (a..z, A..Z), numbers (0..9) and underscore (_). The Swedish characters åäöÅÄÖ are also allowed. |
Title |
Title of the data selector displayed in the CPQ app. |
Directory URL |
URL to images presented in the data selector. For images stored in Combinum's vault use "images/". |
Width |
Width in pixels for the Data selector. The default is 350 pixels. |
Dialog width |
Width in pixels of the pop-up dialog that appears when the user enters a value for the data selector. If left blank the dialog will use 90% of the available space. |
Dictionary |
Source for the data that is presented in the data selector. |
Show inline |
Checked if the data selector shall be displayed inline instead of in a pop-up dialog. |
Show in configurator |
Checked if the data selector shall be displayed on the configurator page of the CPQ app. |
Show in summary |
Checked if the data selector shall be displayed on the summary page of the CPQ app. |
Page size |
Number of dictionary rows to show per page. |
Place holder |
Place holder shown for when no row has been selected. |
Quick search |
Checked if a search dialog should be shown on top of the data selector when opened. |
Quick search column |
Column to show in the quick search dialog. |
Notes |
Internal notes for the administrator to document the data selector. |
Columns
The settings in the Columns grid control which dictionary columns and calculated columns that is shown in the data selector and how they are presented.
Columns have the following settings:
Setting name |
Description |
|---|---|
Show |
Checked if the column shall be shown. |
Alignment |
Alignment of displayed text which can be Left, Center or Right. |
Show for selected |
Checked if the column value for the selected row should be displayed in the data selector control (i.e., the control from which the pop-up window is opened). |
Name |
Read-only name of the column. |
Title |
Column title displayed in the CPQ app. |
Hyperlink |
Checked if the column values shall be displayed as hyperlinks. |
Image |
Checked if the column values contain image file names and images should be displayed instead of text. |
Width |
Relative width of the column. |