Previous Topic: ExportNext Topic: Dataset Operations


Example

To export content with a relative path, use RESTful services.

Follow these steps:

  1. Create a new process.
  2. Drag the Execute operator to the Designer.
  3. Double-click the Execute operator to open the Properties palette.
  4. Enter the required parameters.
    Catalyst Security

    Username: (Catalyst user name)

    Password: (Catalyst password)

    Claims:

    ClaimName: Username

    ClaimValue: pamadmin

    PasswordClaims:

    ClaimName: Password

    ClaimValue: pamadmin

    Execute

    CatalystBrokerURL: "https//hostname:7443/ucf/BrokerService"

    MdrProduct: "CA:00074 (CA Process Automation)"

    MdrProdInstance: "CA:00074:01"

    Operation Category: "CA Process Automation"

    Operation: Export

  5. Export the content with a relative path.
    1. In the Execute Properties, click Parameters.
    2. In the ExportRequest tab, enter the following values:

      FolderName: Absolute path of the folder (or) content. For example, "/GetOSInfo".

      ExportAsContentPackage: Export folder as Content Package with absolute or a relative path. Takes true or false value. By default, the value is set to false.

      IsAbsolute: Select "false" to export the content with a relative path. If you select "true", content will be imported with the absolute path.

    3. In the ExportFileName tab, enter the following values:

      ExportLocation: Server location to export the .xml file. For example: "c:\\export_import_test\\export_test.xml".

      OverwriteFile: Select whether to overwrite the existing file in the given location.

    4. To export all the content to include any type of object, do not provide object types. When you want to export specific object types from the given location, provide types like "Process", "Dataset".
  6. Run the process.
  7. Review the output.

    In the following illustration, a successful export message displays with exported location.

    Successful message for an export.