Troubleshooting
Problem
Symptom
/samples/javascript/AutoRefresh/AutoRefresh.js", _G8J: null, _3RC: "Failed to load module.
↵scripterror
↵/samples/javascript/AutoRefresh/AutoRefresh.js"}
Resolving The Problem
When using gateway with name alias such as http://webserver:80/ibmcognos/bi/ then you need to use fully qualified domain name for webserver in the module path instead of using sample/javascript/defaultdateJ
The module path is the one specified when creating the a custom control in a report as seen here: https://www.ibm.com/docs/en/cognos-analytics/11.2.0?topic=report-adding-javascript
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 spelled the same way as the original path.
Related Information
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
13 May 2024
UID
ibm10875678