Previous Topic: XPSExplorer—Browse Policy Store Data

Next Topic: XCart Management

Export a Subset of Policy Store Data

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

  1. Open a command prompt on the machine hosting the Policy Server.
  2. Enter the following command:
    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.

  3. Enter the number corresponding to the class of objects that you want to export.

    The Class Menu opens.

    Example: If the number 15 corresponds to accounting, enter 15.

  4. Enter S to view the objects in the class.

    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

  5. Enter Q three times to exit the Search, Class, and Main Menus and return to the command prompt.
  6. Enter the following command at the command prompt:
    XPSExport output_file -xo object_XID_1 -xo object_XID_2
    -xo object_XID_3 -xo object_XID_4
    

    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.

More information:

Export Policy Data Using XPSExport


Copyright © 2010 CA. All rights reserved. Email CA about this topic