The heart of the hierarchy is variable replacement. Variables are passed down through the hierarchical navigation view and can therefore be used at lower levels or can be overwritten. In the case of recursive data-dependent menu items, the variable contained in a database query is initially replaced by the existing variable value from the parent level and then the query is started. The resulting value immediately determines a new value for the variable that is processed again in the parent node’s next step. The original value of the old variable is no longer available after the database query has been run. If the database query delivers an empty result, the recursion is stopped.
Figure 12: Example of data-dependent menu items with recursive calling (left) and without recursive calling (right)
Related topics
You can apply list properties to fixed and data-dependent menu items. These properties determine how the table entries are displayed in the user interface result list.
For more information about general properties of menu items, see General menu item properties. To define a list, you need to use the following properties:
Table 37: List properties
Display template |
The display template for displaying table entries in the administration tool result lists are displayed. If a customer specific display template exists it is used instead of the default display template.
Syntax: %column name% |
Object |
Definition of the object which determines the list items. |
Condition |
Condition for limiting the number of results. The input must comply with the WHERE clause syntax of database queries. The condition relates to the given object definition. The condition is consolidated with the condition which is already stored for the object definition. The variables can be used that are available in the navigation interface. |
Icon |
Icon for displaying the items in the list. |
Sort order |
Columns to use for the list order. The input must satisfy the Order By syntax of database queries. You should use a sort order if the data has a date or represents language-dependent data. For language-dependent sorting, use the configuration switch Re-sort data result by caption. |
Insert values |
Insert values initialize individual values when a new data set is added over the result list. Enter insert values in VB.Net syntax. When defining insert values, you can apply the variables currently available in the navigation. |
Insert in list permitted |
Specifies whether you are generally allowed to insert entries in the corresponding result list Whether or not users are allowed to insert entries depends on their permissions. For more information about assigning permissions, see the One Identity Manager Authorization and Authentication Guide. |
Permit deletion in list |
Specifies whether you are generally allowed to delete entries in the corresponding result list. Whether or not users are allowed to delete entries depends on their permissions. For more information about assigning permissions, see the One Identity Manager Authorization and Authentication Guide. |
Related topics
You use a list display template to specify the form in which the table entries will be represented in the administration tool result list. You can define display templates for menu items, object definitions and table lists.
The display template is determined by the following in order:
-
List display template for the menu item
-
Object definition display template
-
Table display template
The display template for displaying a list can be described in the following syntax:
%columnname%
All the columns that belong to the table that will be displayed can be used in the display template. Variables may not be used in display templates for lists.
Replacing the display template supports the ?? operator. Thus you can formulate conditional display templates with the following syntax.
%columnname1??columnname2??columnname3%
%columnname1?? columnname2%
The first column that returns a value from the list of column names is used. Spaces are permitted before and after the ?? operator. Spaces are not allowed at the beginning and end of the conditional display template for performance reasons.
Example:
The Active Directory user account (ADSAccount table) should be shown as follows:
Common Name (fully qualified domain name)
The display template for the ADSAccount table to be specified for this purpose is:
%cn% (%CanonicalName%)
Related topics
You can use insert values to initialize individual values when a new data set is added over the result list. You can apply insert values to interface forms, object definitions, menu item lists, and tables.
Enter insert values in VB.Net syntax. The Base. syntax Always accesses the object that is currently loaded. Insert values are described with the following syntax:
-
Value assignment with variable replacement (value must be a character string)
Base.PutValue("<column>", context.Replace(<value>))
All the columns of the table to be displayed may be applied. You can use variable for defining insert values.
Example:
Base.PutValue("IsITShopOnly", 1)
Base.PutValue("UID_ADSContainer", context.Replace("%cont%"))
NOTE: If you changed insert values, you must recompile the database.
Related topics