Use insert values to initialize individual values when a new data set is added over the result list. You can define values to be inserted for interface forms, object definitions, results lists for menu items, and tables.
Enter the 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 variables for defining values to insert.
Example: Value assignment for values to be inserted
Base.PutValue("IsITShopOnly", 1)
Base.PutValue("UID_ADSContainer", context.Replace("%cont%"))
Note: If you have edited the values to be inserted, you must then compile the database.
You usually define result lists for fixed menu items and data-dependent menu items that are displayed in the user interface navigation. For example, you can use the properties of a result list to specify which display pattern is used for data in the user interface. You can also define which columns are displayed in a result list.
Predefined result lists are maintained by installing the schema and cannot be edited apart from a few properties.
NOTE: You can disable individual predefined result lists to prevent them being shown in the user interface. They remain disabled even after updating the schema.
Detailed information about this topic
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 result lists of menu items, object definitions, and tables.
The display template is determined by the following in order:
-
Display template of the menu item result list
-
Display template of the object definition to use
-
Display template of the table use
Syntax for display templates
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: Display template for entries in a result list
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%)
You can disable individual predefined result lists to prevent them being shown in the user interface. They remain disabled even after updating schema.
To disable a result list
-
In the Designer, select User interface > User interface navigation category.
-
Select the Edit result lists task.
-
In the result list editor, select the result list.
-
In the edit view, select the Properties view.
-
Select the Properties tab and set the Disabled option.
-
Select the Database > Save to database and click Save.
You can also disable result lists using preprocessor conditions.