Element
|
Description
|
Data Utility ID
|
A property defined in the Type and Attribute Management utility or component builder. See “Data Utility Id” in Configuration Points for more information.
|
Need property
|
A property defined in the Type and Attribute Management utility. See “ Need“ in Configuration Points for more information.
|
Target Object property
|
A property defined in the Type and Attribute Management utility. See “Target object” in Configuration Points for more information.
|
If you want to….
|
Configuration
|
Specify the source of data for a composite attribute or a reference attribute
|
Example
The value of the state attribute actually comes from State.state. The attribute that is defined on the type is State. When defining the component configuration, to indicate that the source of data for this attribute is State.state, set the value of the Need property of the State attribute to State.state.
|
Specify a different source of data for a specific to the UI only
|
When defining the component configuration, set the value of the Need property of the attribute.
|
Use data from multiple attributes and assemble them using custom logic, to form the value to be displayed in the UI.
|
Wherever possible, define a calculated attribute.
If the required calculation is outside the scope of the current support provided for calculated attributes, use a custom data utility. When defining the component configuration, set the value of the Need property of the attribute to the list of attributes that need to be fetched for calculating the value.
Example:
attributeConfig.setNeed("name, number, creator");
|