|
This command is available only through the Windchill RV&S Application Programming Interface (API).
|
|
• You can edit only one cross-cutting perspective at a time.
• You can edit only the cross-cutting perspectives that you have created or for which you have edit permissions.
• You can edit the contents of a cross-cutting perspective using the addContents, removeContents and reorderContents options. These options are mutually exclusive and you can use only one option at a time during editing.
|
|
Symbolic dates are evaluated using the time zone of the Windchill RV&S client.
|
|
If a content is added with asOf label configuration using API, the asOf label value is displayed in the AS OF column of the cross-cutting perspective. However, if any content is added from DocStudio with asOf label configuration, the AS OF column in the cross-cutting perspective displays the asOf date value instead of asOf label value.
|
|
The cross-cutting perspective reordering algorithm processes the values provided for the --reorderContents option in the same order as specified in the command. The value format for sourceContents can accept multiple content IDs if those are from the same document. Else, you can specify --reorderContents option multiple times for reordering contents belonging to different documents. The resultant order in the cross-cutting perspective is based on the combinations of sourceContents and targetContent values specified for the --reorderContents option.
Ensure that you specify the required target content appropriately to obtain the desired reordering.
Example:
Consider the contents having IDs 124, 126, 128, 130 with Document ID as 123 and content having ID 129 with Document ID as 100. The following use cases in this example describe reordering scenarios where contents have been added to a cross-cutting perspective with ID 67 in the following order:
124, 126, 128, 129, 130.
• Case 1: Reordering of the contents belonging to the same document as a part of a single --reorderContents option.
im editperspective --reorderContents="sourceContents=documentID=123,contentIDs=124,126,128,location=after,targetContent=documentID=123,contentIDs=130" 67
The resultant order will be 129, 130, 124, 126, 128.
• Case 2: Reordering of the contents belonging to the same document or different documents using multiple --reorderContents option.
im editperspective --reorderContents="sourceContents=documentID=123,contentIDs=124,location=after,targetContent=documentID=123,contentIDs=130" --reorderContents="sourceContents=documentID=123,contentIDs=126,location=after,targetContent=documentID=123,contentIDs=130" --reorderContents="sourceContents=documentID=123,contentIDs=128,location=after,targetContent=documentID=123,contentIDs=130" --reorderContents="sourceContents=documentID=100,contentIDs=129,location=after,targetContent=documentID=123,contentIDs=130" 67
The resultant order will be 130, 129, 128, 126, 124.
As shown in this command, multiple reorderContents options are processed in a serial manner. Thus, if the contents are reordered under the same target content, then each of the subsequent --reorderContents option will override the reordering attempted by the previous option.
• Case 3: Reordering of the contents belonging to the same document or different documents using multiple --reorderContents option with different target contents.
im editperspective --reorderContents="sourceContents=documentID=123,contentIDs=130,location=before,targetContent=documentID=123,contentIDs=124" --reorderContents="sourceContents=documentID=123,contentIDs=126,location=after,targetContent=documentID=123,contentIDs=128" --reorderContents="sourceContents=documentID=100,contentIDs=129,location=after,targetContent=documentID=123,contentIDs=126" 67
The resultant order will be 130, 124, 128, 126, 129.
|