|
im diffsegments --compareUnrelatedDocuments
|
|
The two unrelated documents being compared must have the same primary long text field.
|
|
If the Document Difference view is not visible after upgrading to the latest version of PTC RV&S, you must customize the existing PTC RV&S viewsets and the shortcut menu to enable this view in the GUI. Viewset and shortcut menu customization is saved and remembered the next time you access the client.
To customize existing viewsets, select Actions tab, select > > to make the option visible in the Document menu.
> . On the To customize the right-click shortcut menu, right-click and select Customize This Menu. Click Add Action. Select Workflows and Documents/Item and then select Compare Unrelated Documents.
For more information on customizing viewsets or shortcut menus, see Customizing a ViewSet or Customizing Shortcut Menus.
|
|
Unrelated document difference calculation is performed on the server and is a memory-intensive operation. Performing this operation repeatedly may cause the server to run out of memory. Therefore, this operation should be performed cautiously.
Also, the performance of unrelated document difference is dependent on document complexity, the extent of changes in terms of additions, deletions, and modifications in the documents, and the number of affected nodes. The time taken to display the comparison depends on the number of changes and the complexity of the documents.
|
To compare a document as of
|
Do this...
|
||
---|---|---|---|
Now
|
Select Now to compare the current version of the document.
|
||
Revision
|
Select Revision. A list of all of the labels associated with revisions displays. Select the revision that you want to perform the document comparison against.
|
||
Label
|
Select Label. A list of all labels on the document displays. Select the label that you want to perform the document comparison against.
|
||
Branch
|
Select Branch. A list of all the branches associated with the document displays. Select the branch that corresponds to the time you want to compare the document as of.
|
Type of Document Difference
|
Highlight/Connector Arrow Color
|
Interface Icon
|
---|---|---|
Added content
An item that is not present in the source document but is present in the target document.
A placeholder offers a visual indication of where the addition was made in the source document.
|
green
|
|
Moved content
An item present in both the source document and target document that:
• has a different parent
• has the same parent but is in a different relative position
• has a parent that has been moved.
|
blue
|
|
Deleted content
An item that is present in the source document but is not present in the target document.
A placeholder offers a visual indication of where the deletion was made in the target document.
|
red
|
|
Modified content
Any non-structural change to item or field content.
|
yellow
|
|
Moved and modified content
|
purple
|
and |
Text differences
The Document Difference view compares document content at the text level, including alpha-numeric characters, punctuation, spaces, and hypertext link text. Text differences are highlighted in each document pane, as follows:
• Deleted text is highlighted red in the source document in the left pane.
• Added text is highlighted green in the target document in the right pane.
• Changed text displays as a deletion in the left pane and an addition in the right pane.
The view does not compare or highlight the following document elements:
• Text formatting, such as italics, font attributes, or numbered lists
• Images
• Hypertext link target content
• Short text field content
|
Left pane: Deleted text is highlighted red
Right pane: Added text is highlighted green
|
|
Comparison results taken at different intervals on the same set of documents (if either of the documents has been modified) may not be identical.
|
Shortcut Keys | Action |
---|---|
CTRL+TAB | Switches the focus to the other document pane. |
TAB | Selects the next field. |
up arrow key | Selects the previous row header. |
down arrow key | Selects the next row header. |
HOME | Selects the first row header. |
END | Selects the last row header. |
SPACEBAR | Selects the row header icon in focus and moves to the corresponding difference in the other document pane. |
PAGE UP | Scrolls up approximately one page. |
PAGE DOWN | Scrolls down approximately one page. |