Import and export Technology Pack content

Import is useful in migration scenarios. Export options can be used to bundle the pack content after it is created to be deployed on another environment.

Import options

You can import a new Technology Pack JAR file, replace an existing Technology Pack JAR file. You can import and replace an existing Pack rule file and also the individual pack content files.

Importing a new Technology Pack JAR file
  1. Click the Import (Import icon) icon to import a Pack JAR file.
    1. Click Add fileto locate the file from your local file system to import.
    2. Click Upload.
      Use this option to import a new Technology Pack that is not available in the table.
      Note: The JAR file size cannot exceed more than 500 MB.
Importing an existing Technology Pack JAR file
  1. Click the Import and replace option for a specific pack that is available in the table to import a JAR file to replace the existing one.
  2. Click Add file, browse, and select the file to import.
  3. Click Upload.
    Note: The JAR file size cannot exceed more than 500 MB.
Importing a pack rule file
  1. Click the More actions (More actions icon) icon for a specific Technology Pack from the table and select Pack rule.
  2. Select Import and replace.

    Using this option, you can replace an existing pack rule with the one that is imported in JSON or Excel format.

    Or

  3. Click the More actions (More actions icon) icon and select Patch for a Technology Pack content that is in the table.

    Using this option, you can append new content or update the existing content with the one that is imported in JSON or Excel format.

Note: These import options are available only for a custom Technology Pack and not for COTS packs.
Importing pack content
  1. Click the More actions > Pack content > Import icon to import a new external pack content file and replace an existing file with updated content.
    Note: Maximum size of the file can be 200 MB.
  2. Click the More actions > Pack content > Import and replace file to import and replace an existing pack artifact file with an external file.
    For example, use this option if you want to replace an existing .discovery file with an external .discovery file.
    Note: Maximum size of the file can be 200 MB.

Export

You can export the entire Technology Pack to a JAR file. Or, you export a pack rule content to JSON or Excel formats. You can also export a pack content as individual files.

Exporting a pack to a JAR file
  1. Click the Export (Export icon) icon for a specific pack in the table.

    You can see that the pack content is exported to a JAR file and is saved to your default Downloads directory.

Exporting pack rule
  1. Click the More actions (More actions icon) icon for a specific Technology Pack from the table and select Pack rule.
  2. Click the Export (Export icon) for a specific pack in the table.
  3. Select JSON or Excel format to export the content to.

    You can see that the pack content is exported to the selected format and is saved to your default Downloads directory.

Note: This export option is available only for a custom Technology Pack and not for COTS packs.
Exporting pack content
  1. Click the More actions (More actions icon) icon for a specific Technology Pack from the table and select Pack content.
  2. Click the Export (Export icon) for a specific pack content in the table.

    For example, use this option if you want to export a .discovery file, click the Export icon for that content. The content is exported to your default Downloads directory.