DOCS

Compare Items

You can compare items when an item has the focus, either in the navigation tree, in a report, or in an editor view. The item comparison is limited to the current configuration, but there are no further limitations; you can compare items of any type.

Comparing items

  1. Select the items that you want to compare and then QueryCompare Items from the main menu.
  2. Or  

    Right-click the items and then select Compare Items from the context menu.

    The Compare Items dialog opens, listing the items you selected.

    This image shows the Compare Items dialog.
    • If you selected a single item, continue to step 2.
    • If you selected multiple items, the first item (according to alphabetical sort order) is used as the primary item, and the others as secondary items. You can then skip the next step and proceed to step 4.

    To select another item as the primary item, select it in the Secondary items list and then click the Set as Primary icon .

  3. Click the Add icon to open the Add Items to View page of the Search for Items dialog that lets you select one or more secondary items for the comparison:
  4. This image shows the Search for items dialogs.

    You can select items of all available types.

  5. Select the secondary item or items and then click Add. You return to the Compare Items dialog, which displays the items you have selected in the list for secondary items:
  6. This image shows the Compate Items dialog.
  7. Click Next to proceed to the Define Scope of Comparison page of the Compare Items dialog.
  8. This image shows the Compate Items dialog.
    • Leave the option button Compare all attributes selected if you want to include all available attributes in the selection.
    • To compare only selected attributes, click the Select attributes to be compared option button. The list below the option button becomes active, and you can select the check boxes of the attributes that you want to compare:
    • This image shows the list of attributes to be compared.

      By selecting the Restrict to common attributes check box below the attribute list, you can reduce the attribute list to display only attributes that are defined for the types of all items that are included in the comparison.

  9. When you are finished, click Run.
  10. The Compare Items view opens in the Editor frame. For details, see Working with the Compare Items View.

Working with the Compare Items View

The Compare Items view allows you to inspect all items that were selected for the comparison and compare their attribute contents. You cannot, however, edit the displayed attribute contents.

This image shows the Compare Items view.

The view’s left area displays a comparison overview in item table format.

  • At the top level, entries for all secondary items.
  • The next level lists, for each secondary item, the attributes that are defined for the primary item, for the secondary item, or for both. Attributes that differ in content or are only present with one of the compared items display with red icons. If any attributes were excluded from the comparison step 4, they are not listed in the item table.

The view’s right area displays comparison details

  • For the selected attribute:
    • The attribute content if both attributes have different content
    • An empty list, if the attributes are identical or empty.
  • For the selected item, the item names.
This image shows the Item Name for the selected item.

You can change the sizes of the comparison overview and detail areas by positioning the mouse cursor over the invisible border between the areas and, when the cursor takes the form of a bidirectional horizontal arrow, dragging the border to the desired direction with the left mouse button held down:

This image shows the option to change the size of the comparison window.

In the same way, you can change the sizes of the two attribute areas that comprise the comparison detail area: Position the mouse cursor over the (invisible) border between the areas and, when the cursor takes the form of a bidirectional horizontal arrow (or vertical arrow, when the areas are arranged vertically), drag the border to the desired direction with the left mouse button held down.

The local toolbar buttons in the Compared Items area have these functions:

Icon Command Function

Re-execute Query

Refreshes the comparison result by re-executing the item comparison.

Display Attribute Comparison Information

Toggles display of Comparison result column on and off (it is initially set to off).

Collapse All

Collapses the item table to the top level (that is, no attributes are displayed).

Expand All

Expands the item table to the attribute level.

Show Attributes with Different Contents

Limits the attribute display to attributes with different content.

Show Attributes with Equal Contents

Limits the attribute display to attributes with equal content.

Show All Attributes

Displays all attributes (the initial setting).

The local toolbar buttons in the comparison details area have these functions:

Icon Command Function

Show Differences in Separate Dialog

Compares the attribute content in a separate dialog window; available only when the Show Differences view is active.

Show Differences

Displays attributes content horizontally and points out correspondences and differences (the initial setting).

Attribute Contents Horizontal

Displays attributes content horizontally.

Attribute Contents Vertical

Displays attributes content vertically.

Show Detailed Differences

Lists all entries in the two attributes sequentially, specifying the comparison result for each attribute. The possible results are: Identical, Different qualifier, Only in primary, and Only in secondary. This button is present only when link or namespace attributes are compared.

By clicking the Attribute Contents Horizontal and Attribute Contents Vertical icons, you can display the attributes either side by side or one above the other.

If you click the Show Differences icon, the correspondences and differences of the currently selected attribute are marked up.

This image shows the correspondences and differences of the selected attribute.

Entries that are present in both attributes are displayed on a white background, and entries that are present in only one attribute are displayed on a light gray background. The connecting lines between the attributes indicate where a block of entries that is present in only one attribute would have to go to in the other attribute.

The icons in this view have these functions:

Icon Command Function

This button is reserved for a future enhancement.

This button is reserved for a future enhancement.

This button is reserved for a future enhancement.

This button is reserved for a future enhancement.

Next Difference

Highlights the next different block.

Previous Difference

Highlights the previous different block.

Next Change

Highlights the next different entry.

Previous Change

Highlights the previous different entry.

When you compare link or namespace attributes, click the Show Detailed Differences icon to display the correspondences and differences in a single table.

This image shows the correspondences and differences in a single table.

The table contains duplicate entries for items that are present in both subject areas. This is because the items reside in different namespaces, and have, therefore, also different item IDs. Select the Compare by type, name, relationship qualifier check box above the list to switch off the item ID comparison. The display will change as shown in this example:

This image shows comparison result.

The items are sorted automatically by item type and name. If you want to change the sort order, select the Enable Sort check box. You can then click the buttons that comprise the list header to sort in ascending or descending alphabetical order, according to the corresponding column.

When displaying attributes in item comparisons, Metability remembers the display settings for each attribute type. If you select a particular combination of display options while a text attribute is active and then display a namespace attribute and select a different combination of display options, and then display another text attribute, the second text attribute will be displayed in the same way as the first one.