im createperspective
creates a new Windchill RV&S cross-cutting perspective
|
This command is available only through the Windchill RV&S Application Programming Interface (API).
|
Synopsis
im createperspective [--name=value] [--description=value] [--addContents=value] [--fields=field] [--hostname=value] [--port=value] [--user=value] [(-?|--usage)] [(-N|--no)] [(-Y|--yes)] [--cwd=value] [--forceConfirm=[yes|no]]
Description
im createperspective creates new cross-cutting perspective from various types of documents. The contents can be added from heterogeneous segments. You can define and store any number of cross-cutting perspectives (CCP) using Windchill RV&S. For example:
im createperspective --name=Pers01 --description="Pers01 desc"--addContents=”documentID=111,asOf=label:Label1,contentIDs=112,114,116,documentID=162,asOf=Jul 16, 2020 11:29:17 PM,contentIDs=163,165,documentID=193,contentIDs=194,196,198" --fields="ID,Document ID, Text"
|
Symbolic dates are evaluated using the time zone of the Windchill RV&S client.
|
Options
This command takes the universal options available to all
im commands, as well as some general options. See the
options reference page for descriptions.
• --name=value
specifies the name of the new cross-cutting perspective. Names may be a maximum of 100 characters, and cannot contain square brackets.
• --description=value
specifies a short description for the new cross-cutting perspective. Description can be a maximum of 500 characters.
• --addContents=value
Specifies the contents to be added to the cross-cutting perspective, where value is of the form documentID=<Issue ID>,[asOf=[<date>|label:<label>]],contentIDs=<Issue ID1,IssueID2,..>
asOf is optional and is used to add the contents pertaining to a historical date and label.
Both documentID and ContentIDs are mandatory. The value for the addContents options must be provided in this sequence only: {DocumentID,[asOf],contentIDs}
|
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.
|
• --fields=field,field,...
specifies the fields to used as the default columns for the cross-cutting perspective. This setting overrides the current default columns.
See Also