AtroCore provides the ability to compare or merge two or more records within one or multiple entities. This can be done directly on the selected entity page via a modal window, or through a dedicated entity called Selection. From the Selection entity, you can also choose records for comparison or merging.

Creating a Selection

Selections are standard entities that can be added to the Navigation menu or Favorites. To create a new comparison table:

  1. Create a new record in the Selection entity.
  2. Add the records you want to compare.

Selection

Basic Configuration

All Selections share these common configuration fields:

  • Name: A descriptive name for the action.
  • Type: Specific type of selection – either Single Entity or Multiple Entities.
  • Selection Records: Records that will be included in the comparison table.

You can add records to the table using the Add Item option in the entity header, or the + button in the Selection Records panel.

Selection View Modes

The Selection entity has three view modes, switchable via buttons in the header panel:

  1. Standard view: default mode, displaying the entity fields and relation panel.
  2. Comparison view: activated by clicking Compare. Displays a comparison table with fields and attributes of the selected records.
  3. Merging view: activated by clicking Merge. Allows merging of selected records.

The options Select, Compare, and Merge are also available in the action menu of the list view for any entity (except system entities). If the action is executed from the list view a Selection will be created automatically. You can rename it later if needed.

List actions

Compare Records

The functionality of comparing entity records allows you to see the difference between the values of the same fields, relation panels and attributes.

To compare multiple records select the required records in the list view and choose Compare from the action menu or add the records to a Selection and switch to Comparison View by clicking the corresponding button.

Comparison table

A window opens with a comparison table for the selected records. Field and attribute values that differ will be marked with a vertical red line.

The comparison table contains all the data about the selected records, divided into panels, as it is done on the Detail page of the entity. You can also apply a filter to the table rows by clicking on the content filter button (a circle icon inside a square, located to the right of the Add Item button) to keep only required, empty, or filled field (attribute) values. From the comparison table, you can go directly to the record merge functionality by clicking the Merge button.

In Comparison View, you can also edit fields and attributes directly. To edit a value, hover over the field and click the pencil icon that appears in the upper-right corner.

Additionally, you can manage records in the comparison table:

Comparison table

  • Add a new record: Click the Add Item button.
  • Replace an existing record: Use the Replace Record icon.
  • Remove a record: Click the Delete Record icon located to the right of the record name.

Merge records

The Merge functionality allows you to create a new record based on existing ones while preserving selected field values. This is especially useful for cleaning up duplicates within an entity.

To merge records, start by selecting several similar records that you want to consolidate. Then, choose one record as the base. The system will create a new record with a different ID, inheriting fields from the chosen base record. Before finalizing the merge, you can modify specific field values or take them from other records, ensuring the new record contains the most accurate and relevant information.

Ways to Merge Records

You can initiate merging in three ways:

  1. From List View: select the necessary records and choose Merge from the action menu.
  2. From Comparison Table: switch to the Merging View by clicking the Merge button in the comparison table.
  3. From a Selection: create or open the desired Selection and click the Merge button to enter merging mode.

Merge table

Before each column with record data, you see a column with a radio buttons. By default, the merged record will contain all the values from the first record. If you want to save the value of a field or attribute from another record, place the radio button against the value that you want to keep. You can also change it manually to any other value.

For many-to-many relationships, select the checkbox next to all records that should be linked to the merged record.

Merge relations

Just like on the product page, you can switch between panels using the anchor navigation and use date filters. After you have determined the values of all fields for the resulting record, click the Merge button.

You will see the message “Merged” on the screen and will be redirected to the newly created record, which means that the resulting record has been saved and the rest of the records have been deleted. As with any deleted records, they will be stored in the database for a certain period of time and you can restore them if necessary.

Access management

Selection is a standard entity that can be chosen within the scope of entities in role settings. You can configure the same access permissions for Selections as for any other entity (create, read, edit, delete).

Access to Compare and Merge actions is determined by permissions for the Selection entity and the entity for which these actions are being performed.

In the Modal Window

  • If the user has permission to create records in the entity, they can perform Merge.
  • If the user has permission to view records in the entity, they can perform Compare.
  • The button to navigate to Selection (in the modal window) and the Select action are visible only if the user has access to the Selection entity.

On the Selection Page

  • Merge is available if the user has permission to create records of the entity used in the selection.
  • Compare is available if the user has permission to view records of that entity.
  • If the user has permission to edit the selection, they can add or remove items from it.
  • If the user has permission only to view the selection, they can see the records and perform actions if they are available.