Technical documentation - Changing columns in part assemblies
This article describes how to configure columns in a part assembly.
This configuration is available in version 5.1 and later.
Overview
It is possible to configure which columns are displayed on a part assembly.
Configuration
Columns if part assembly can be configured as below. Note that it is possible to define columns separately for various types of part assemblies and in below example columns of kits are defined..
<Presentation template="kit">
<Trigger type="Kit"/>
<Identity display="hidden"/>
<PartAssemblyColumnSetting id="Id" enabled="false"/>
<PartAssemblyColumnSetting id="rowIcons" enabled="false"/>
<PartAssemblyColumnSetting id="specifications" enabled="false"/>
<CustomPartAssemblyColumnSetting hide-empty="false" id="spec" caption-key="Specifications" order="85">
<!-- In the column with name Specification show value of SpecificationType with persistent identity COLOR -->
<Value property="Specifications[Type.PersistentIdentity=COLOR].FormattedValue"/>
</CustomPartAssemblyColumnSetting>
</Presentation>
Attribute | Values | Usage |
---|---|---|
id | Column identifier | Used to refere a column |
enabled | true/false | If columns shows or not |
hide-empty | true/false | If column is hidden if no values exist on all rows |
cation-key | keytext identifier | A key text for the column name. Use if default column name needs to be changed. |
order | integer | Order of the column |
Possible values in the id field are as below.
Id value | Usage |
---|---|
Id | Displays pos number |
rowIcons | Displays icons on row |
quantity | Displays quantity value |
partNumber | Displays part number |
name | Displays part name |
description | Displays description |
specifications | Displays all highlighted specifications of part and part row in the same column |
supplierNumber | Dispays supplier part number. Default turned off. |
<given id> | For non predefined columns give id a unique value. This is only used for CustomPartAssemblyColumnSettings. |