XPSExplorer is an interactive command-line utility that allows an administrator or application developer to view the data in a policy store. XPSExplorer has two uses:
To use XPSExplorer, you must be an administrator with XPSExplorer rights.
XPSExplorer has the following format:
XPSExplorer [-?] [-vT | -vI | -vW | -vE | -vF] [-l log_path] [-e err_path] [-r rec_path]
XPSExplorer includes the following options:
(Optional) Displays help information for this utility.
(Optional) Specifies when to log error information to the error file and how much information to log.
Logs detailed information so that you can TRACE errors.
Logs information in case there is an error.
Logs error information in the event of a WARNING, ERROR, or FATAL error.
Logs error information in the event of an ERROR or FATAL error.
Logs error information in the event of a FATAL error.
(Optional) Outputs logging information to the specified location.
Default: stdout
(Optional) Outputs error information to the specified location.
Default: stderr
(Optional) Outputs a record of the session to the specified location.
To export a subset of policy store data, you need the identifiers of the objects (XIDs) that you want to export. You can use XPSExplorer to locate object identifiers. To use XPSExplorer, you must be an administrator with XPSExplorer rights.
In this use case, you export the following accounting applications:
Export a subset of policy store data
XPSExplorer
The main menu opens and lists vendors, products, and classes.
Note: Only objects in top-level classes can be exported. Top-level classes are marked with asterisks.
The Class Menu opens.
Example: If the number 15 corresponds to accounting, enter 15.
The Search Menu opens and the objects in the class are listed.
Example Search Results:
1-CA.SM::Accounting@0e-08c6cadb-e30b-4e06-9e2e-b3d7a866fab8
(I) Name : "Accounts Payable"
(C) Desc : "accounts payable"
2-CA.SM::Accounting@0e-3b0f4ccf-71f3-4968-b095-2b5a830c3244
(I) Name : "Accounts Receivable"
(C) Desc : "accounts receivable"
3-CA.SM::Accounting@03-1c7ac22e-6646-4c61-8f2f-6261a0ef3a92
(I) Name : "General Ledger"
(C) Desc : "general ledger"
4-CA.SM::Accounting@10-8d78bb81-ae15-11d1-9cdd-006008aac24b
(I) Name : "Payroll"
(C) Desc : "payroll"
5-CA.SM::Accounting@@12-88f119a0-3fd1-46d0-b8ac-c1e83f00f97d
(I) Name : "Job Costing"
(C) Desc : "job costing"
Example Object Identifiers (XIDs):
CA.SM::Accounting@0e-08c6cadb-e30b-4e06-9e2e-b3d7a866fab8
CA.SM::Accounting@0e-3b0f4ccf-71f3-4968-b095-2b5a830c3244
CA.SM::Accounting@03-1c7ac22e-6646-4c61-8f2f-6261a0ef3a92
CA.SM::Accounting@10-8d78bb81-ae15-11d1-9cdd-006008aac24b
CA.SM::Accounting@@12-88f119a0-3fd1-46d0-b8ac-c1e83f00f97d
XPSExport output_file -xo object_XID_1 -xo object_XID_2 -xo object_XID_3 -xo object_XID_4
Specifies the XML file to which the policy store data is exported.
Specifies the identifier of each object that you want to export.
Note: You can copy the object identifiers (XIDs) from the Search results and paste them in the command line.
Example:
XPSExport accounting.xml -xo CA.SM::Accounting@0e-08c6cadb-e30b-4e06-9e2e-b3d7a866fab8 -xo CA.SM::Accounting@0e-3b0f4ccf-71f3-4968-b095-2b5a830c3244 -xo CA.SM::Accounting@03-1c7ac22e-6646-4c61-8f2f-6261a0ef3a92 -xo CA.SM::Accounting@10-8d78bb81-ae15-11d1-9cdd-006008aac24b
The policy store data for the specified accounting applications is exported to accounting.xml.
XPSExplorer includes the XCart feature. XCart allows you to collect the identifiers of the objects (XIDs) that you want to export and save them to a file for later use without manually copying and pasting each one. To use XPSExplorer, you must be an administrator with XPSExplorer rights.
To access XCart, enter X for XCart Management in the Main Menu of XPSExplorer. The XCart Menu opens and displays any objects that are in the XCart. The following options are context-sensitive and may or may not be displayed depending on the context:
Empties the XCart.
Note: The name of the XCart file does not change.
Saves the contents of the XCart to the XCart file.
Important! The S command overwrites the contents of the XCart file without prompting first.
Saves the contents of the XCart to the specified file and remembers the specified file name as the XCart file.
Note: The N Command prompts before overwriting the specified file.
Each object is tagged with an import mode that determines how it will be imported from the XPS file to the policy store:
Adds new objects; does not replace existing objects.
Replaces existing objects; does not add new objects.
Replaces existing objects and adds new objects.
Specifies the default import mode.
Note: For each product class, there is a default import mode defined in the product's data dictionary.
Exits the XCart Menu and returns to the Main Menu.
To export a subset of policy store data, you need the identifiers of the objects (XIDs) that you want to export. You can use the XCart feature of XPSExplorer to locate objects and save them in an XCart file for later use when you export. For example, an administrator can set up an XCart file for members of operations to use as needed. To use XPSExplorer, you must be an administrator with XPSExplorer rights.
In this use case, you save the following four accounting applications in a file for later use:
Export a subset of policy store data using XCart
XPSExplorer
The Main Menu opens and lists vendors, products, and classes.
Note: Only objects in top-level classes can be exported. Top-level classes are marked with asterisks.
The XCart Menu opens.
Example: C:\xcart\accounting.txt
Note: This is where you want the contents of the XCart to be saved.
The specified file name is remembered as the XCart file.
Example: C:\xcart\accounting.txt
Note: The file must exist. If not, L has no effect.
The Class Menu opens.
Example: If the number 15 corresponds to Accounting, enter 15.
The Search Menu opens and the objects in the class are listed.
Example Search Results:
1-CA.SM::Accounting@0e-08c6cadb-e30b-4e06-9e2e-b3d7a866fab8
(I) Name : "Accounts Payable"
(C) Desc : "accounts payable"
2-CA.SM::Accounting@0e-3b0f4ccf-71f3-4968-b095-2b5a830c3244
(I) Name : "Accounts Receivable"
(C) Desc : "accounts receivable"
3-CA.SM::Accounting@03-1c7ac22e-6646-4c61-8f2f-6261a0ef3a92
(I) Name : "General Ledger"
(C) Desc : "general ledger"
4-CA.SM::Accounting@10-8d78bb81-ae15-11d1-9cdd-006008aac24b
(I) Name : "Payroll"
(C) Desc : "payroll"
5-CA.SM::Accounting@@12-88f119a0-3fd1-46d0-b8ac-c1e83f00f97d
(I) Name : "Job Costing"
(C) Desc : "job costing"
Note: An asterisk before an application indicates that it is in the XCart.
XPSExport output_file -xf xcart_file
Specifies the XML file to which the policy store data is exported.
Specifies the path and name of the XCart file containing the identifiers of the objects (XIDs) to export.
Example:
XPSExport accounting.xml C:\xcart\accounting.txt
The policy store data for the accounting applications saved in the XCart file is exported to accounting.xml.
In this use case, you add a fifth accounting application, Job Costing, to the following four accounting applications already in the XCart file, accounting.txt, using the XCart feature of XPSExplorer:
Note: To use XPSExplorer, you must be an administrator with XPSExplorer rights.
Add an application to an XCart file
XPSExplorer
The Main Menu opens and lists vendors, products, and classes.
Note: Only objects in top-level classes can be exported. Top-level classes are marked with asterisks.
The XCart Menu opens.
The specified file name is remembered as the XCart file.
Example: C:\xcart\accounting.txt
The Class Menu opens.
Example: If the number 15 corresponds to accounting, enter 15.
The Search Menu opens and the objects in the class are listed.
Example Search Results:
1-CA.SM::Accounting@0e-08c6cadb-e30b-4e06-9e2e-b3d7a866fab8
(I) Name : "Accounts Payable"
(C) Desc : "accounts payable"
2-CA.SM::Accounting@0e-3b0f4ccf-71f3-4968-b095-2b5a830c3244
(I) Name : "Accounts Receivable"
(C) Desc : "accounts receivable"
3-CA.SM::Accounting@03-1c7ac22e-6646-4c61-8f2f-6261a0ef3a92
(I) Name : "General Ledger"
(C) Desc : "general ledger"
4-CA.SM::Accounting@10-8d78bb81-ae15-11d1-9cdd-006008aac24b
(I) Name : "Payroll"
(C) Desc : "payroll"
5-CA.SM::Accounting@@12-88f119a0-3fd1-46d0-b8ac-c1e83f00f97d
(I) Name : "Job Costing"
(C) Desc : "job costing"
Note: An asterisk before an application indicates that it is in the XCart.
The asterisk before the application indicates that it is in the XCart.
Job Costing is added to accounting.txt.
Copyright © 2015 CA Technologies.
All rights reserved.
|
|