Skip to main content

Table Build Actions

Scripts for inserting records for table-rows/-columns.

Entity Ids​

Id: 501​

  • finds all idrefs of nodes with node type of "gNodeType" below node type "gParentType" with id matching "gRootTableRecordStringID"
  • creates a list of comet.CIDType and writes it to the output variable
  • this is then used by the comet table-module to insert rows/columns accordingly
<!-- gParentType = product -->
<item type="product" id="9876543">

<!-- gNodeType = sku -->
<item type="sku" idref="9876543_1"/>
<item type="sku" idref="9876543_2"/>
<item type="sku" idref="9876543_3"/>
<item type="sku" idref="9876543_4"/>
</item>

<item type="sku" id="9876543_1">
(...)
</item>
<item type="sku" id="9876543_2">
(...)
</item>
<item type="sku" id="9876543_3">
(...)
</item>
<item type="sku" id="9876543_4">
(...)
</item>
ParametersExplanationDefault
gParentTypeThe node type of the entity that matches the current gRootTableRecordStringID and contains references to the entites that need to be found and added to the id-list.product
gNodeTypeThe node type of entities to add to the id-listsku

Attribute keys​

Id: 502​

  • finds all keys of an attribute group within the attribute-definitions-section
  • creates a list of comet.CIDType and writes it to the output variable
  • this is then used by the comet table-module to insert rows/columns accordingly
<item id="attribute_groups" type="attribute_group_definitions">

<!-- gAttributeGroupId = technical_details -->
<item id="technical_details" type="attribute_group" label="">
<item key="length" content="Length"/>
<item key="width" content="Width"/>
<item key="material" content="Material"/>
<item key="price" content="Price"/>
</item>

</item>
ParametersExplanationDefault
gAttributeGroupIdThe id of an attribute-group that contains the attributes that need to be found and added to the id-list.