Resolving The Problem
The module path is the one specified when creating the a custom control in a report as seen here: https://www.ibm.com/support/kn
For example of module path: http://ibmcognos.com:80/ibmcog
You need to enter the fully qualified domain name and the path in the Module Path when creating a Custom Control in a report.
The JS file has to be placed in webcontent/bi/samples folder, C:\Program Files\ibm\cognos\analytics\web
The module path is case sensitive so make sure the path in the Module Path is spelt the same way as the original path.
18 April 2019