Compare Objects

ObjectCompare

The Compare Objects option provides the ability to compare two different objects or view the changes that have been made to a single object.  Once the objects have been compared, there is an option to filter the attributes to only display attributes based on the compare results.

Attributes that have multiple values, have an expand option next to them, when the attribute is expanded, each value in the attribute is compared against the right side attribute and results are display.  

Clicking on the compare icon column header, the one between the left and right values, will display the filter options, selecting one of the filter options will result in only the attributes that match the selected filter being displayed.

Note: with a filter selected, when expanding an attribute, only the value that match the filter will be displayed.

The Compare Options are:

Show All -  all results will be displayed
Don't Match - display only the results that doesn't match
Equal - Only display values that match
Not Equal - Only display values that don't match
Only Left Value Exists - Only display values where the left object has value, while the right object is not set
Only Right Value Exists - Only display values where the left object is not, while the right object has a value
Neither Side Set - Only display values, when neither side has a value set

There are a number of additional right click context menus that provide additional functionality

      • Clear Values -  will clear the attribute cache and the display
      • Hold Left Values - causes the left object's values to be held and when a compare is performed again, the left object's attributes are not update and the previously read values are used
      • Load Values - this option will load a previously saved set of attributes and values.  You can only load the saved attributes and values into the left object
      • Save Values - based on the user selection, either the left or right, the selected object's attributes and values are saved to a file and which can then be reloaded at a later date
      • Compare Values - displays a side by side comparison of the values and highlights the differences.  See section below for more details

When the left object attributes are held, the text in the DN field turns red, to indicate that the left object values are held.

The default operational behavior of the the compare, is to read the attributes for both objects from the directory before making the compare, however, this behavior changes under the following scenarios:

      • If the left and right object DNs are the same - when the first compare is run, the attributes for both the left and right are populated, however on subsequent compares, if the DNs doesn't change, only the attributes and values of the right object are updated fro the directory and then compared against the previous read attributes and values of the left object
      • If the Hold Left Values context menu is selected, the attributes and values of the left object are held and are not updated on subsequent  running of the compare, until either, the left object DN is changed or the values are cleared
      • If previously saved attributes and values are loaded on the left side

The Compare Values context menu option provides the ability to display the values side by side and the differences between the two values is highlighted.  The Compare Values option supports a number of different compare options. the default option is to double click on an attribute and the Compare Values dialog is displayed with the comparison.  The comparison can also be across two different attributes, or two attributes on the same object.  If two attributes are selected, then left and right values of these attributes are then compared.   When two attributes are selected, there is additional logic used to selected the left and right values to be compared.  

This the logic uses determine which value is used for the comparison. The default logic is that the first item selected is used for the left value, the next is the right value.  However, if the first item doesn't have a left value but has a right value, then the second item is used for the left and first item is used for the right.  If both the selected items don't have left values, then the right value from the first item is used for the left value, this allows attributes in the same object to be compared.  If both the selected items don't have right values, then the left value of the second item is used for the right., this allows attributes in the same object to be compared.   

The default behavior of the compare is to reread the attributes directly from the source objects, so in some case, the result could be different from the results that are displayed when the Compare was first run and results displayed because the attributes have changed.  The Compare Values option has to read directly from the source objects, as a result when the Load Values or Hold Left Values options has been used, the Compare Values option is not available, until the Clear Values option is selected. 

Note: You can't compare the parent item of multi-value items, you must expand the parent item and then compare the members.