Entity Columns
Introduction
- A
Entity Columnis a configurable unit used to define the list of columns we want to show in certain wizard steps, specifically those of thePLANNING_TREEorPRODUCTS_ASSIGNMENTtype. - The columns have two types:
staticandmetadata, displayed as separate tabs.-
static: These represent the static properties of the table/tree item (document/planning/product). Currently, we support the following:- For planning step:
label: Label of the item.printTemplateId: Template of the item.pageTemplateId: Page template of the item.identifier: Identifier of the item.bucketId: Identifier of the planning bucket (supports only for planning items).entityBucketLabel: Entity label of the planning bucket (supports only for planning items).entityBucketId: Entity identifier of the planning bucket (supports only for planning items).createdOn: Creation time of the item.createdBy: User who created the item.updatedOn: Last modification time the item.updatedBy: Last user to modify the item.
- For product assignment step:
assortmentName: Assortment name of the context.country: Country from the context.language: Language from the context.well: Well from the context.seq: Sequence of the item.label: Label of the item.id: Identifier of the item.entityId: Entity identifier of the item.entityLabel: Entity label of the item.pageTemplateId: Page template of the item.groupIdentifier: Group identifier of the item.template: Template of the item.previewImage: Preview image of the item.createdOn: Creation time of the item.createdBy: User who created the item.updatedOn: Last modification time the item.updatedBy: Last user to modify the item.
- For planning step:
-
metadata: The content metadata we want to show as columns, mapped by a key.
-
- Supported column options:
required: Specifies whether the column is mandatory.Requiredcolumns cannot be hidden from the user.needAsDefault: Specifies whether the column should be shown by default.
Configuration
ISON Configuration Details
Sample
<entityColumns>
<entityColumn type="static" id="planning_static_columns">
<columns>
<column>
<key>label</key>
<required>true</required>
<needAsDefault>true</needAsDefault>
</column>
<column>
<key>identifier</key>
<required>false</required>
<needAsDefault>true</needAsDefault>
</column>
<column>
<key>createdOn</key>
<required>false</required>
<needAsDefault>false</needAsDefault>
</column>
<column>
<key>createdBy</key>
<required>false</required>
<needAsDefault>false</needAsDefault>
</column>
<column>
<key>updatedOn</key>
<required>false</required>
<needAsDefault>false</needAsDefault>
</column>
<column>
<key>updatedBy</key>
<required>false</required>
<needAsDefault>false</needAsDefault>
</column>
</columns>
</entityColumn>
<entityColumn type="metadata" id="planning_metadata_columns">
<columns>
<column>
<key>content_metadata_key_1</key>
<required>1</required>
<needAsDefault>1</needAsDefault>
</column>
</columns>
</entityColumn>
</entityColumns>
Explanation
<entityColumns>: Wrapper element forEntity Columnconfiguration.<entityColumn>: The configurations for an individualentity column.- Attributes:
id: The unique ID of theEntity Columnconfiguration. This attribute is required.type: The type ofEntity Column. Available option:staticandmetdata. This attribute is required.
- Attributes:
- Elements:
<columns>: Wrapper element for the list of columns.<column>: Configuration for a specific column.- Elements:
<key>: Key of the column.<required>: Enable/disablerequiredfeature. Default value isfalseif not configured.<needAsDefault>: Enable/disableneedAsDefaultfeature. Default value isfalseif not configured.
- Elements: