Technical documentation - Tables and used-in in web viewer version 4.4 and 4.5

Used in function may be configured to show different places where information is used and adjusted to some extent. This article describes how used in function may be configured.

Version 4.4.0

This function is available in version 4.4.0 and later.



Overview

Used in function is based on a set of components and a to allow users to view, filter, sort and download table information. The components are the table itself with columns and data content, a filter area to filter content, a filter selector to select what columns to filter, custom filters, a download button and a sort selector. Each component may be configured.

Configuration

Used in configured using profile.config using the <PresentationSettings> block.

profile.config
<Settings> <Trigger base-type="Catalogue"/> <!-- presentation=true will include which presentations the item is used catalogue-node="true" will include which catalogues item is used presentation-catalogue-node="true" will include which nodes item is used navigation-offset="1" will trigger navigation to the item in the used in list to the location one step up. E.g navigating to a part in a node will place user ini the node showing all parts in that node. This option is available in version 4.5 and later. --> <UsedIn presentation="false" catalogue-node="true" presentation-catalogue-node="true" navigation-offset="1"> <Sort direction="Ascending" type="Identity"/> <!— Show filter area or not. --> <FilterDisplaySettings display="false"/> <!-- Define a filter by name and label --> <Filter name="kits" label="Service kits"/> <!-- Settings for a column in the table. Id is content of column and caption-key is the key text. --> <Column id="CatalogueIdentity" caption-key="ProductNo"/> <Column id="CatalogueName" caption-key="ProductName"/> </FilterDisplaySettings> <!-- Definition of dataview options. Define page size, eg 10 and 50, with default 10. --> <DataViewOptions page-sizes="10,50" default-page-size="10"> <!-- Sorting options. Identity. E.g. add two sorting options: Sort by Identity and display the sort option as key-text ProductNo. Sort by Name and display the sort option as key-text ProductName. Hide sort option Filter. --> <SortSelector id="Identity" label="ProductNo"/> <SortSelector id="Name" label="ProductName"/> <SortSelector id="Filter" ignore="true"/> <!-- Add filter options in the filter area --> <FilterSelector id="CatalogueIdentity" label="ProductNo" property="Catalogue.Presentation.Identity"> <!-- Regex for the filter to be applied on the CatalogueIdentity column --> <Format pattern="((\b(?'a'\d{4}) (?'b'\d{0,4})) (?'c'\d{0,2})|(\b(?'a'\d{4}) (?'b'\d{0,4})(?'c'\d{0,2})\b))" format="${a}${b}${c}"/> </FilterSelector> <FilterSelector id="CatalogueName" label="ProductName"/> </DataViewOptions> </UsedIn> </Settings>