Packaging the custom visualization
Before you can deploy the custom visualization, you must package it.
- 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.
- Run the following command in the command-line interface:
customvis packThe custom visualization is built and packed into a .zip file.
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.