Skip to main content

Display Table

A table displays a collections of entity type data grouped into rows.

See the Customize Display Tablestopic for additional information.

Examples

Below there are a few examples of display tables.

DisplayTableDesignElement table

The following example displays sites as a table.

Code attributes enclosed with <> need to be replaced with a custom value before entering the script in the command line.

<DisplayTable Identifier="Directory_Site" EntityType="Directory_Site" DisplayTableDesignElement="table" IsEntityTypeDefault="true">    <Column DefaultSortPriority="1" DisplayBinding="Region.Country.DisplayName" IsDisplayInSummaryView="true" IsResizable="true" IsSortable="true" CanBeFiltered="true" ColumnSize="2" DisplayName_L1="Country" />    <Column DefaultSortPriority="2" DisplayBinding="Region.DisplayName" IsDisplayInSummaryView="true" IsResizable="true" IsSortable="true" CanBeFiltered="true" ColumnSize="2" DisplayName_L1="State" />    <Column DefaultSortPriority="3" DisplayBinding="DisplayName" IsDisplayInSummaryView="true" IsResizable="true" IsSortable="true" CanBeFiltered="true" ColumnSize="8" /></DisplayTable>

Example - DisplayTableDesignElement Set to Table

DisplayTableDesignElement list

The following example displays users as a list.

Code attributes enclosed with <> need to be replaced with a custom value before entering the script in the command line.

<DisplayTable Identifier="Directory_User" EntityType="Directory_User" DisplayTableDesignElement="list" IsEntityTypeDefault="true">    <Column DefaultSortPriority="1" ColumnSize="6" IsDisplayInSummaryView="true" SortBinding="MainRecord.LastName" Tile="Directory_User_Tile1" />    <Column ColumnSize="3" IsDisplayInSummaryView="true" Tile="Directory_User_Tile2" SortBinding="MainRecord.FirstName" />    <Column ColumnSize="3" Tile="Directory_User_Tile3" /></DisplayTable>

Example - DisplayTableDesignElement Set to List

Remember, for resources to be displayed as a list, the display table must also be configured with tiles.

DisplayTableDesignElement resourcetable

The following example displays AD entries as a table, with an "Owner/Type" column.

Code attributes enclosed with <> need to be replaced with a custom value before entering the script in the command line.

<DisplayTable Identifier="AD_Entry" EntityType="AD_Entry" DisplayTableDesignElement="resourcetable" IsEntityTypeDefault="true">    <Column DefaultSortPriority="1" DisplayBinding="dn" IsDisplayInSummaryView="true" IsResizable="true" IsSortable="true" CanBeFiltered="true" ColumnSize="5" />    <Column DisplayBinding="displayName" IsDisplayInSummaryView="true" IsResizable="true" IsSortable="true" CanBeFiltered="true" ColumnSize="2" />    <Column DisplayBinding="userPrincipalName" IsDisplayInSummaryView="true" IsResizable="true" IsSortable="true" CanBeFiltered="true" ColumnSize="4" />    <Column DisplayBinding="objectCategory" IsDisplayInSummaryView="true" IsResizable="true" IsSortable="true" CanBeFiltered="true" ColumnSize="1" /></DisplayTable>

Example - DisplayTableDesignElement Set to ResourceTable

Properties

Here is a list of properties of display tables.

PropertyTypeDescription
DisplayTableDesignElement requiredEnumerationDesign of the display table. -1 - table: resources are displayed in a table. -2 - list: resources are displayed in a list. -3 - resourcetable: resources are displayed in a table containing an "Owner/Type" column. -4 - adaptable: resources are displayed in a table with an "Owner/Type" column only if the entity type is the target of a resource type, otherwise the table is without said column.
EntityType requiredInt64Represents the linked entity type.
HomonymEntityLink optionalInt64Defines the homonym display table.
Identifier requiredStringUnique identifier of the table.
IsEntityTypeDefault default value: falseBooleanDefault display table used in the application.
LinesPerPage default value: 15Int32Defines the maximum lines per page.
ParentProperty optionalInt64Property to navigate to the parent level when the table displays a tree of values (for example Organization.ParentOrganization).

Child Element: Column

Contains all the display table columns.

Example

Here is an example of a column child element.

Code attributes enclosed with <> need to be replaced with a custom value before entering the script in the command line.

<Column DefaultSortPriority="1" DisplayBinding="dn" IsDisplayInSummaryView="true" IsResizable="true" IsSortable="true" CanBeFiltered="true" ColumnSize="4" />    <Column DisplayBinding="userPrincipalName" IsDisplayInSummaryView="true" IsResizable="true" IsSortable="true" CanBeFiltered="true" ColumnSize="2" />    <Column DisplayBinding="userAccountControl" IsDisplayInSummaryView="true" IsResizable="true" IsSortable="true" CanBeFiltered="true" ColumnSize="1" />    <Column DisplayBinding="rdn" IsDisplayInSummaryView="true" IsResizable="true" IsSortable="true" CanBeFiltered="true" ColumnSize="2" />    <Column DisplayBinding="displayName" IsDisplayInSummaryView="true" IsResizable="true" IsSortable="true" CanBeFiltered="true" ColumnSize="2" />    <Column DisplayBinding="objectCategory" IsDisplayInSummaryView="true" IsResizable="true" IsSortable="true" CanBeFiltered="true" ColumnSize="2" />

Properties

Here is a list of properties of column child element.

PropertyTypeDescription
AddedMinutes optionalInt32Add minutes to the date field with this property. If the value is not defined, the default value is the one defined for the associated display entity property.
CanBeFiltered default value: falseBooleanCan filter the column data.
ColumnSize default value: 1Int32Defines the column size.
DefaultSortPriority optionalInt32Defines the default sort priority.
DisplayBinding optionalInt64Represents the linked binding path to a scalar property.
DisplayName_L1 optionalStringDisplay name of the column in language 1 (up to 16).
IsDisplayInDropDownList default value: falseBooleanIs a drop down list column.
IsDisplayInSummaryView default value: falseBooleanIs a summary view column.
IsResizable default value: falseBooleanIs resizable column.
IsSortable default value: falseBooleanIs sortable column.
OptimizedDisplayBinding optionalInt64Optimized Binding allows DisplayTables to be faster displayed. If it is filled in, it takes priority over the DisplayBinding located in the DisplayTableColumn.
OptimizedSortBinding optionalInt64An optimized sort binding allows display tables to be faster displayed. If it is filled in, it takes priority over the sort binding located in the display table column.
SearchOperator default value: 0QueryComparisonOperatorDefines the search operator (Equal, NotEqual, Contain, StartWith).
SortBinding optionalInt64Represents the sort binding path to a scalar property.
Tile optionalInt64Identifier of the tile.