...
Info |
---|
To be clear, it is not mandatory for the table used for the view to have columns named 'PRODUCT' or 'SUBPRODUCT' only. The columns could be named anything, for example PRODUCT CATEGORY, PRODUCT DIVISION, and so on. |
Note: To be clear, it is not mandatory for the table used for the view to have columns named 'PRODUCT' or 'SUBPRODUCT' only. The columns could be named anything, for example PRODUCT CATEGORY, PRODUCT DIVISION, and so on.
- When the $ALL keyword is used for the entitlement criteria
...
For the descriptions of the three source types that can be used for the $ALL keyword refer source type and source value fields.
Note: When new products or services get added or removed, ensure to update the source values against the entitlement criteria in the OO_CRITERIA_TYPE_MASTER table. This is a mandatory step when the $ALL keyword is used for the entitlement criteria. If you specify let's say three source values in the OO_CRITERIA_TYPE_MASTER table but only two in the OD_USER_FUNCTION_MB table, Canvas will filter data respecting the values provided in the OD_USER_FUNCTION_MB table.
...
To create apps in different formats, you have to link the appropriate view to the app in Canvas Studio. The best view for a particular purpose depends on the information the user needs.
When you create a view in Canvas Studio, the details of the view including the entitlement criteria mapping for the view columns/fields gets stored in the VIEW_COLUMN_DEFINITION table. Please note that Canvas currently enables you to define entitlement criteria at the database level only. However, the defined criteria can be mapped to the View columns in the App Designer or Create View Definition screen in Studio. For more information on configuring Views and Apps, refer the App Configuration section in the Expert Studio Dev Guide or the App Designer document available in Unmail > Canvas Technology > Documents > Release 18.1.0.0refer Designing Apps using App Designer.
Following is a sample screen shot of the VIEW_COLUMN_DEFINITION table. In this table, the entitlement criterion (for example, LOAN_CRI) is mapped to the column LOAN_TYPE for the CT_LOAN_SUMMARY_VIEW.
OO_CRITERIA_TYPE_MASTER
Info |
---|
This is the default table provided by Canvas to define the entitlement criteria. You can use your own entitlement criteria definition table. However, you must make necessary changes in the EntitlementsHelper class for the framework to read the table. |
Data level entitlement criteria must be defined in this table. Canvas expects that the data level entitlements are mapped to the Product – Sub Product combination and not directly to functions. This goes with the concept that all functions under a Product – Sub Product combination automatically derive the data level criteria applicable. There could be scenarios where a function may not work with any data level criteria. In such cases, the function could be marked as read-only to indicate that scenario.
Following is a sample screen shot of how the entries can be provided in the OO_CRITERIA_TYPE_MASTER table:
Column Name | M / O | Type | Purpose |
---|---|---|---|
CRITERIA_TYPE | M | String | The criteria type (key) against which the data level entitlement is captured as part of profiling. |
DESCRIPTION | O | String | This is a column provided to the developer for storing any meaningful comment for quick identification of the entitlement criteria. For example, Loan type criteria. |
SOURCE_TYPE | M | String | Indicates how the possible values for the criterion can be fetched. The default source type is V.
|
SOURCE_VALUE | M | String | Provides the actual value corresponding to the source type. |
PRODUCT_CODE | M | String | This is the product code that is recognized by Canvas and is used as part of its internal storage of profiles, etc. |
SUBPRODUCT_CODE | M | String | This is the sub product under the provided product that is to be used. This is the code that is recognized by Canvas and is used as part of its internal storage of profiles, etc. |
...
Info |
---|
This is the default user entitlement table provided by Canvas. You can use your own user entitlement table. However, you must make necessary changes in the EntitlementsHelper class for the framework to read the table. |
In this table, the entitlements defined in the OO_CRITERIA_TYPE_MASTER table must be mapped to the user. Following is a sample screen shot of how the entries can be provided in the OD_USER_FUNCTION_MB table:
Column Name | M / O | Type | Purpose |
---|---|---|---|
OD_USER_NO | M | String | Unique ID provided to the user. |
OD_ACC_NO | M | String | Product or service values whose data is to be fetched based on the criteria defined. Example, Home Loan. |
CRITERIA_TYPE | M | String | In this column, specify the entitlement criteria to be respected for the view fields/columns in App Designer or Create View Definition screen in Studio. |
OD_PRODUCT_CODE | M | String | This is the product code that is recognized by Canvas and is used as part of its internal storage of profiles, etc. |
OD_SUBPROD_CODE | M | String | This is the sub product under the provided product that is to be used. This is the code that is recognized by Canvas and is used as part of its internal storage of profiles, etc. |
...