i
Relation Properties
The relation properties panel of an element opens when clicking the icon of its context menu.
Properties are divided into two groups, relation properties and related attribute properties.
Relation
A relation allows obtaining values from different sources for the element being modeled. Within the "Relation" tab, the property Values obtained from is defined, along with the specific settings for each type of source. If the element has no relation, the default option “No Relation” should be modeled.
Possible Values
•No Relation
•Rule
The relation is only valid for text-type fields.
Related Attribute
A related attribute indicates that the field value is retrieved from the attribute value of another entity. One of the relations defined on the page must be selected, and then it should be specified which attribute of the related entity it links to.
A field can be modeled as a related attribute and it can also have a relation defined to an entity, a value list, or a rule. This allows the value of the related attribute to be retrieved on this field and the functionality provided by the relation to be used.
Properties
The list of relations defined on the page is displayed, allowing the selection of one of them.
Entity Attribute
The list of attributes of the selected entity compatible with the field type is displayed. Fields can have a relation modeled with an entity, a value list, or a rule in the selected entity.
Relation Type
Copy
When this property is checked, once the retrieved value is uploaded, it does not automatically update even if the value of the related attribute changes.
Reference
When this property is checked, the field value is subject to the current value of the related attribute, that is, the updated value is automatically displayed.
Content Type
The element content varies depending on whether the Code or Value property is checked when:
•The entity attribute has a modeled relation.
•The field has the option "Entity" selected in the Values Obtained from property.
Code
When this property is checked, if the relation is modeled with a:
•Related entity, the identifier of the entity is displayed.
•Value list, the value list code is displayed.
•Rule, the code returned by the rule's execution is displayed.
Value
When this property is checked, if the relation is modeled with a:
•Related entity, the short description of the entity is displayed.
•Value list, the value list description is displayed.
•Rule, the description returned by the rule's execution is displayed.