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
The relation is only valid for text-type fields.
Atributo Relacionado
Un atributo relacionado indica que el valor del campo se recupera a partir del valor de un atributo de otra entidad. Se debe seleccionar una de las relaciones definidas en la página y luego indicar a qué atributo de la entidad relacionada se vincula.
Un campo puede estar modelado como atributo relacionado y a su la vez puede tener definida una relación a una entidad, lista de valores o regla. Esto permite que se recupere el valor del atributo relacionado en este campo y también se utilice la funcionalidad aportada por la relación.
Properties
The list of relations defined in the entity 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. Attributes 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.