Packaging the custom visualization

Before you can deploy the custom visualization, you must package it.

Procedure

  1. Open a command-line interface (CLI) where the custom visualization is located, created in Creating a custom visualization. Make sure that in the CLI you browse to the directory where the custom visualization is located.
  2. Run the following command in the command-line interface:
    customvis pack
    The custom visualization is built and packed into a .zip file.

Results

A .zip file is generated in the current directory: {directoryName}.packed.zip. For example: CustomVisualization.packed.zip.

If you have the Manage Visualizations capability, you can upload the packaged.zip file to IBM® Cognos Analytics.

If you do not the Manage Visualizations capability, you can send the file to someone who has the Manage Visualizations capability. If you want to run the custom visualization locally, then extract the packaged.zip file and run the customvis start command from a CLI in the extracted folder.