[This news article was first published on July 7, 2022]
The Relationship Definition Application Business Component (ABC) v2.1, compatible with Appway 2022.1 and higher is now available.
Continue reading for full information on features, ingredients and technical requirements, as well as links to documentation.
Relationship Definition v2.1 comes with the following ingredients:
- AppTask Extension 3.1.0
- AppTaskAPI Extension 3.1.0
- RelationshipDefinition Extension 2.1.0
Please, note that the following compatible Extensions have been released subsequently containing relevant bugfixes:
AppTask Extension 3.1.1 (released July 21, 2022; replacing AppTask 3.1.0) and
RelationshipDefinition Extension 2.1.1 (released July 25, 2022; replacing RelationshipDefinition 2.1.0). Please, upgrade to the latest extensions.
Relationship Definition v2.1 requires the Appway Platform 2022.1 or higher.
- List View — (RelationshipDefinition / AppTask Extensions) The new List view of the Relationship Definition UI allows displaying the whole relationship structure as a List, which may help get an overview of which parties have already been added, and add new ones. The user can quickly switch from Tree to List view and viceversa.
- Labels — (AppTask Extensions) The following Label Business Objects, related to the new List View feature described above, have been added:
AppTask:EmptyState.NoInformationToDisplayAppTask:ViewMoreRelationshipDefinition:Toolbar.TreeViewRelationshipDefinition:Toolbar.ListView
- Relationship sentries — (RelationshipDefinition / AppTask Extensions)
- It is now possible to specify sentries that govern the availability and editability of Relationships managed both by the Relationship Definition and the Relationship Review App Tasks.
- Relationship sentries allow controlling whether Relationships are enabled, disabled or hidden. As a consequence, now disabled Relationships cannot be modified or deleted, and hidden Relationships are not displayed in the Relationship structure. See documentation for configuration details.
- Variable assignments — (AppTask Extensions) A new implicit variable
$rootObject is available for assignments to the Rule selected in the Relationship Constraints property and to the Data Logic selected in the Validation Rules property (available in the Relationship tab of the Relationship Definition App Task). This new variable allows accessing the current Root Object and using it in Rules, thus making it possible to define Rules which are specific to certain Root Objects (for example, a given Relationship type which is mandatory only for a specific Account type). See documentation for configuration details. - Violations — (RelationshipDefinition / AppTask Extensions) The Root Object header navigation now shows the 'See Issues' badge which opens the Violations panel if the Relationships associated to the Root Object contain errors or warnings.
- UI (AppTask Extension)
- The "Go to Object" (three-dot) button on the Root Object now displays the corresponding Object icon.
- When opening a popup from an element on the page, if there is not enough space below, the popup is displayed above the element.
- Once opened, the Relationship Definition now displays a placeholder Tree while actual data is still loading.
- Once opened, metadata editing popups now display a loading state while actual data is still loading.
- The minimap now displays a loading state while actual data is still loading.
- Error messages — (RelationshipDefinition Extension) Improved error messages in the log to make it easier to debug configuration issues.
- Labels
Consider that changes in Labels may require actions on your side if you are upgrading from Relationship Definition v2.0 or lower (see details in our
upgrade documentation).
- (RelationshipDefinition / AppTask Extensions) Fixed an issue where the Label "Relationship exceeds cardinality" (
RelationshipDefinition:Relationship.Issue.TooManyRelationships) displayed on the App Task UI tab (see documentation) was not processed correctly in terms of variable assignments. Now, variable assignments are used correctly in Label translation. - (AppTaskAPI Extension) Fixed and issue where Labels were using the Process version filter instead of the Latest version.
- Minimap — (AppTaskAPI Extension) When only one element was available in the Tree structure, it was not shown in the minimap. It is now properly visible.
- Phone Number — (AppTask Extension) — Fixed an issue where phone number prefixes needed two clicks to be selected. They can now be selected with one click.
- UI — (AppTask Extension) Fixed an issue where notifications (e.g., warnings) with a long description were overflowing the container. The text is now displayed in two lines when needed.
- Violations — (AppTask Extension)
- Violations (blocking issues and warnings) on Root Objects are now correctly rendered in the Relationship Tree view.
- Violations are now shown even when a Relationship is collapsed, or when the node involved belongs to a different Relationship.
The following documentation resources are available:
Relationship Definition v2.1 can be requested through FreshService, our new Support Ticketing System. Go to Appway Support: Open a 'Service Request > Appway Artifact Request' > 'Relationship Definition'.