This step is alternative to Existing Data Source.
The following steps are applicable, only if SQL Param Map ID is used to connect to datasource:
- Click Click to Add Column to add the columns manually to the designer area.
- Provide the column details and add them to the designer area based on the description provided in the following table:
- Basic Config:
#
Field Name
Description
Sample Value
Basic Configuration
1 Column ID
Unique ID of the column as in the database.
ITEM_ID
2 Column Display Name Key
Localized label key of the column that appears as column title on the grid.
ITEM ID
3 Datatype
Indicates the kind of data item by the values it can take or the operations that can be performed on it.
String
4 Parent Column ID This Parent Column ID indicates the Name of the column, which must appear as grouping header of the current column.
For example:
Consider the following configuration:Column ID Data Type Parent Column TRANS_DATE_RANGE date
FROM_DATE date
TRANS_DATE_RANGE
TO_DATE date
TRANS_DATE_RANGE
The above configuration displays the columns in the app to appear as shown in the following table:
Transaction Data Range
From Date To Date 12-08-2013
18-08-2013
07-09-2014
09-09-2014
- 5 Entitlement Criteria Map the entitlement criteria defined in the database to the field/column based on which the data must be filtered and displayed in the app for the user.
For more information, please refer the Data Level Entitlements Configuration6 Display as Title Toggle on: Displays the data of the column as title. This option must be selected for only one column.
Toggle off: Does not display the data of the column as title.Toggle off 7 Business Key Position This key position identifies the uniqueness of a row based on columns that exist, in accordance with the business rules. 8 Drill Down Indicator Indicates the hyperlink in the column values that lead to another process or window.
The developer must use CWEC.DRILL_DOWN handler to write the hyperlink click action logic. See section Adding Handlers to the App for more information.No 9 Channel Indicates whether the Column is applicable for all devices or Desktop or Mobile or Tablet.
Select the applicable channel for the column.All - Position:
#
Field Name
Description
Sample Value
Position
1 Mandatory Column
Toggle on: Indicates that the current column always appears in the view. Column Visibility cannot be set if Column Mandatory Indicator toggle is on.
Toggle off: Indicates that the current column may or may not appear on the view.
Toggle off
2 Column Visibility
Enables the column to show or hide. The end-user can make a column visible or invisible.
Toggle on: Displays the column in the view.
Toggle off: Hides the column from the view.
This option will be available for the user only when the Column Mandatory Indicator is set to No. If the Column Mandatory Indicator is set to Yes, then the Column Visibility value will automatically change to Yes and will be unavailable for the user.
Toggle on
3 Hide Column
Enables the column to show or hide. The end-user can make a column visible or invisible. This property over rides the property set in Column Visibility.
Toggle on: Displays the column in the view.Toggle off: Hides the column from the view.
Example 1: For a column, if Column Visibility is set as No and Hidden Indicator is set as No, then in output if Show Hidden Items is selected then the column will be displayed in the grid.
Example 2: For a column, if Column Visibility is set as No and Hidden Indicator is set as Yes, then in output if Show Hidden Items is selected the column will not be displayed in the grid.Toggle off
4 Priority Prioritizes the selection of channels. 1 indicates All Channels, 2 indicates Desktop and Tablet and 3 denotes Mobile. Based on the Priority, the chart will get displayed in the functional application, involving the type of channel, which was chosen by the user.
- Basic Config: