Comparing Data Model Versions¶
Comparing Previously Published Versions¶
Comparison is available both when draft mode is enabled or disabled
To compare previously published versions of a data model:
Make sure the “Data Model” section is open.
Click the “Version: N” button located at the bottom of the list of entities/lookup entities (Figure 1).
The action will open a comparison window (Figure 2).
Select two versions of the model for comparison. For example, version 2 and 10.
In the current version, it is possible to compare entities/lookup entities and nested objects in the corresponding tabs. If there are differences between the model versions, a red dot indicator appears to the right of the tab containing the changes.
On the left side of the screen, there is a list of elements available for comparison. If an element has been changed - the icon is displayed to the right of its name; if it was added - the icon is displayed; if it was deleted - the icon is displayed.
On the right side of the screen, you can see the changes related to the selected item in the form of a table with 2 columns - selected versions for comparison.
There are 3 types of changes: deleting, adding, editing. Added values are highlighted in green, and edited and deleted values in red. If there are no changes, the “No change” message will appear on the right side of the screen. Moved objects (changed element order or location within the root/bottom group) are marked as edited.
If you compare objects that are too large, the content of the objects will be collapsed by default (except for the part of the content that was changed on the right or left side of the comparison). To expand the content, click on the text “Expand N lines…”.
Figure 1. Example of comparison buttons display (in draft mode)
Figure 2. Window for comparing data model versions
Comparing Draft and Last Published Version¶
Comparison is available only when draft mode is enabled
To compare draft and the last published version of the data model:
Select draft or create a new one.
The action will open a comparison window (Figure 3).
The left side of the screen contains a list of items available for comparison.
The right part of the screen displays changes related to the selected item as a table with 2 columns - published version and draft.
The highlighting of elements is the same as described above.
Figure 3. Window for comparing the published data model with the draft