Comparing Data Model Versions

Comparing Previously Published Versions

Note

Comparison is available both when draft mode is enabled or disabled

To compare previously published versions of a data model:

  1. Make sure the “Data Model” section is open.

  2. Click the “Version: N” button located at the bottom of the list of entities/lookup entities (Figure 1).

  3. The action will open a comparison window (Figure 2).

  4. Select two versions of the model for comparison. For example, version 2 and 10.

  5. Click “Compare”.

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 image3 icon is displayed to the right of its name; if it was added - the image4 icon is displayed; if it was deleted - the image5 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…”.

If necessary, change the view of the table using the image6 “Change View” button in the upper right corner of the table.

Example of comparison buttons display (in draft mode)

Figure 1. Example of comparison buttons display (in draft mode)

Window for comparing data model versions

Figure 2. Window for comparing data model versions

Comparing Draft and Last Published Version

Note

Comparison is available only when draft mode is enabled

To compare draft and the last published version of the data model:

  1. Go to “Data Model” section, if you didn’t do it before, and enable draft mode image1.

  2. Select draft or create a new one.

  3. Press the image7 “Compare with published version” button located at the bottom of the list of entities/lookup entities to the right of the “Version: N” button (see Figure 1).

  4. 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.

Window for comparing the published data model with the draft

Figure 3. Window for comparing the published data model with the draft