DataMiner Comparison tool
The DataMiner Comparison tool is a web application that allows you to compare the values of two string parameters on a character-by-character basis and to immediately spot the differences (additions, modifications, and deletions).
You can access the tool via the following URL:
This tool supports SAML authentication from DataMiner 10.3.8/10.4.0 onwards.
Working with the Comparison tool
Make sure the settings panel on the left is expanded. If it is collapsed, you can expand it by clicking the cogwheel icon.
DataMiner Comparison tool in DataMiner 10.3.9
In the Original text and Modified text boxes on the left, select an element and parameter (and an index if necessary), and click Get original value and Get modified value, respectively.
It is also possible to specify the two parameters in the URL of the application, using the following URL arguments:
In the URL, both arguments have to be encoded. For example:
At the bottom of the panel on the left, modify the settings according to your preference.
Compare the values displayed in the two columns of the main pane of the app.
By default, the columns will scroll in unison. If you do not want this, deactivate the "locked scrolling" feature using the Toggle locked scrolling icon at the bottom of the screen.
- If you modify a parameter value in the comparison tool, the changes you made will not be sent to the DataMiner Agent. They will be lost when you close the tool.
- To log out of the tool, click your username or icon in the top right corner and select Log out.
The following settings are available for the Comparison tool:
Show differences: If this setting is selected, the differences between the two parameter values will be highlighted.
Align chunks: If this setting is selected, empty lines will be inserted if necessary so that the two parameter values are aligned. If this option is not selected, no empty lines will be added, and unaligned associated differences will be connected with curved lines.
Collapse common lines: If this setting is selected, only lines that differ will be shown (with a common context of maximum 5 lines before and after). All identical lines will be collapsed. If you want to expand identical lines, click ....
Semantic cleanup: If this setting is selected, post-processing heuristics will be performed to make differences more easily readable. For example, if the word "cheese" is replaced with "whale", the highlighting algorithm will detect accidental matching characters "h" and "e". The semantic cleanup routine will try to fix this by combining these small differences in larger chunks to make them more manageable semantically.
Enable patch mode: If this setting is selected, the two parameter values will not be compared directly. Instead, the modified text will first be reconstructed by patching the original text in the first parameter using the differences supplied in the second parameter. Finally the modified text will be displayed next to the original.
If you have selected two parameters and configured the settings in the app, this is reflected in the app URL. To reuse a particular configuration, you can bookmark this URL.
Embedding the Comparison tool in Visual Overview
The DataMiner Comparison tool can be embedded within Visual Overview by means of a shape data item of type Link. For more information, see Linking a shape to a webpage.
If you want the header and the parameter selection panel to be hidden in the embedded tool, add the
embed=true argument to the URL.