...
Code Block | ||
---|---|---|
| ||
<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 display will define in which area of the screen used in section is displayed, if it is hidden or collapsed. --> <UsedIn display "body collapsed" 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> |
...