Column definitions for application and system data model tables are kept in the DialogColumn table. The predefined column properties of the One Identity Manager schema are maintained by the schema installation and cannot be edited apart from a few exceptions.
In the Designer, you can edit the One Identity Manager schema's column definitions using the Schema Editor.
Detailed information about this topic
In One Identity Manager, value templates are implemented for generating user data or for transforming values. You can use these templates to fill object properties with default values or to form property values from other properties. Value templates can take effect within an object as well as between objects. Value templates without dependencies take effect when the value is queried in the column and the column does not have a value assigned. Value templates that refer to other columns are affected when these columns change.
Value templates take effect without regard to the current permissions. No explicit permissions need to be assigned to the dependent columns. When value templates are applied, the accessed columns of an object are also filled if they are not visible on the current form in the Manager.
Column dependencies due to value templates are mapped in the DialogNotification table. The connected properties are shown in the table as sender-subscriber pairs. The column that caused the change is the sender and the column that is changed because of it, is the subscriber. The object links are consolidated by the column relations. The entries are created when the value templates are compiled and updated.
NOTE: In the Designer, you can get an overview of existing columns with value templates in the One Identity Manager Schema > Templates category. Column dependencies due to value templates are mapped in the schema overview in the Schema Editor.
Detailed information about this topic
Related topics
There are templates available for some columns. You can select which template to use from a configuration library. For example, different templates are available for forming the central user account of an identity.
To select a template from the configuration library
-
In the Designer, select One Identity Manager Schema.
-
Select the table and start the Schema Editor with the Show table definition task.
-
Select the column and then the Column properties view.
-
Select the Value calculation tab.
-
In the Formatting script section, click Select from library.
This link is shown only when several templates are available for a column in the library.
-
The configuration library lists various templates.
-
To display the template's configuration code, click .
-
To accept the template, click OK.
-
Select the Database > Commit to database and click Save.
You can customize predefined default value templates and create your own additional value templates.
IMPORTANT: You must take performance factors into consideration when defining value templates. In certain circumstances, changes to a property could cause large numbers of dependent objects to be changed, saved, and processes to be generated through a value template in overwrite mode.
To limit the number of objects changed by a value template you can define thresholds for running value templates. For more information, see Restricting performance of value templates.
To create a value template
-
In the Designer, select One Identity Manager Schema.
-
Select the table and start the Schema Editor with the Show table definition task.
-
Select the column and then the Column properties view.
-
Select the Value calculation tab and edit the following properties.
Table 25: Properties for calculating values of a column
Overwrites |
Specifies whether the template can overwrite or not. If this option is set, the value template is always applied. If the option is not set, the value template is only applied when the column is empty.
NOTE: The One Identity Manager schema only knows the values 0 and 1 for columns of Bool data type. The value 0 is the same as empty. That means, if the Overwrites option disabled, the template is run if the column value changes from 0 to 1. |
Template |
Template script. Write the script in VB.Net syntax which allows all VB.Net script functions to be used.
TIP: To display the columns that trigger a template, click Triggers for this template. |
No automatic truncation by template |
Specifies whether the value is automatically truncated to the maximum column length if the maximum length is exceeded when applying a template. If this option is enabled, the value is not automatically truncated to the maximum column length. |
-
Select the Database > Commit to database and click Save.
IMPORTANT: Compile the database to bring the value template into effect.
TIP: Test compiling in the Designer using the Schema > Test compile menu item.
Related topics