Relations
Relations between two objects come in two forms: direct and converse. These relations can take various types.
List
Admin can see all relations in one list.
Also, on this page, Admin can:
Search
- for the relation by name of the relation, using the search field
Order by
change the number of the list point for one page of pagination, from 10 to 35
order the list by Name, Parent object type, Child object type, Creation date or Last update date
Delete
delete one relation entity using the trash icon in the list
tick several entities using checkboxes and delete them at the one time
tick the checkbox near the search field and select all relations on the page
click by Delete all button and remove all relations
Please note, that if the relation entity is deleted, the relation between objects of related types will be removed.
Change permission
- create or change the permission for the relation using the "key" icon
Create
Create a new relation using the ‘Create new relation’ button.
In the Create new relation page, Admin can:
| Items | Description | UI |
|---|---|---|
| Specify name | required field; input, with the limit to 250 symbols; the value of the attribute name should be unique | input field |
| Add description | Admin can add the description for the attribute | text area |
| Direct relation name | required field; input, with the limit to 250 symbols | input field |
| Converse relation name | required field; input, with the limit to 250 symbols | input field |
| Choose parent | required field; Admin can select the other object type in the field as a parent type | single search input |
| Choose child | required field; Admin can select the other object type in the field as a child type | single search input |
| Is filter | the setting to show or hide the directly related objects from the filters sidebar on Analytics Hub | switcher |
| Bubble relation | the setting to mark the relation as bubble | switcher |
| Use in Request object | allows you to choose this type for the Request creation | switcher |
| Single object relation | allows you to limit the number of related objects to 1 | switcher |
| Required relation | this setting makes relation required for filling | switcher |
Types of relations:
Directly - Admin can create a unique relation between any different object types. For example, Workspace includes Report, where the Workspace is established as a parent (direct) object type, and the Report is established as a Child object type.
Duplicated - Admin can create several relations between the same types. For example, Report includes Indicator & Report uses as filter Indicator. Both of these relations will be displayed in the filters sidebar, and on the object page on Analytics Hub.
Hierarchical - this type is created automatically when the admin chooses the Parent for the object type on the create object type page. Hierarchical relations could be used for menu creation. Also, the parent direction is a required field for the object with the Child object type.
Loop - Admin can create the relation between the objects with the same type. For example, Report includes Report. This type of relation doesn't have a bubble setting.
Bubble - setting shows the objects related across several levels. For example, there are relations in the system:
- Report - Report page
- Report page - Report indicator
To see the objects with the Report indicator type related to the Report (through the Report page objects) Admin should enable the bubble setting for the relation Report page - the Report indicator. So, the user will see the Report indicator objects related through the Report page objects on the view object page on the Portal. They will be able to filter the Report objects by relation to the Report indicator objects on the module and on the search result pages.
Setting can be used through the 5 levels of hierarchical relations.
For the bubble relation, the advanced search feature cannot be applied on the Analytics Hub.