Managing artifacts with Cognos Analytics APIs

Use the Cognos Analytics APIs to manage artifacts that are used in Cognos Analytics to add to provisioned instances. These artifacts include JDBC drivers, custom images, deployments, fonts, and stylesheet files.

For more information about the Cognos Analytics Artifacts API, see Cognos Analytics Artifacts API.

After you update the JDBC drivers, you must restart the Cognos Analytics pods.

Run the following shutdown.sh commands to shut down and restart the Cognos Analytics instance:

./shutdown.sh -t ${PROJECT_CPD_INSTANCE_TETHERED}
./shutdown.sh -t ${PROJECT_CPD_INSTANCE_TETHERED} -r

For more information about creating the shutdown.sh script, see Creating administration scripts for Cognos Analytics.

Default image folder mapping

Images are normally in the customImages directory. To reference these images in reports, dashboards, and other assets, include this folder in the file path. For example, use ../images/customImages/myimage.png to reference the myimage.png image file.

If you have images in a specific subdirectory, include this subdirectory in the file path as well. For example, if you have the myimage.png image file in the pngdir subdirectory, use ../images/customImages/pngdir/myimage.png to reference the myimage.png image file.