14 July 2023

Issue Description

TCC-6906, HE-3296

Support for RelatedObject column.

1. Datatable

In order to facilitate the user’s need to create connections between objects while editing a table column, Helium offers in-built related object column.

With the related object column in Helium, you can create connections between different objects. For instance, from part ebom table one can directly connect specification object to Part object using this column.

Related Object Column can be configured as below:

<Column>
	<Name>Specifications</Name>
	<Expression>${from[relationship_PartSpecification].to}</Expression>
	<AlternateOIDExpression>${from[relationship_PartSpecification].to.id}</AlternateOIDExpression>
	<Label>Specifications</Label>
	<TextLength>10</TextLength>
	<Rows>5</Rows>
	<TruncateDirection>left</TruncateDirection>
	<GroupHeader>Related Data</GroupHeader>
	<Setting name="options">{
			"formConfig":"tvc:form:helium/RelatedObjectForm.xml",
			"formWidth" : "300",
			"formHeight" : "300"
	}</Setting>
	<ColumnType>helium-relatedobject</ColumnType>
</Column>

The configuration mentioned above allows for passing a "formconfig" reference in the settings. This "formconfig" contains all the necessary details about the field that needs to be edited.

For more detailed information please refer Related Object Column