If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Sample Java Script Reports - Cognos Analytics

Started by psahay, 03 Jan 2019 09:59:52 AM

Previous topic - Next topic

psahay

Hi ,
I have downloaded the sample java script reports in cognos Analytics but when ever I try running those reports it gives me a error
Scriptable Report Error
Module:
/samples/javascript/AutoRefresh/AutoRefresh.js
Description
Failed to load module.
scripterror
/samples/javascript/AutoRefresh/AutoRefresh.js
I have made sure the JavaScript is located at the path .
Any idea why am I getting these error messages. Thanks

dougp

Assuming you're talking about the JavaScript samples found at <Cognos Analytcs installation directory>\samples\JavaScript, either the samples or the instructions are broken.

The instructions say:
QuoteCopy this unzipped javascript folder and place it on your Cognos server here:
<Cognos Analytcs installation directory>\webcontent\samples\

Assuming the default settings for your installation, that means the report should expect to find them here: /ibmcognos/samples
Unfortunately, the reports are designed to find them at /samples/javascript

You can either update each report, or put the sample scripts in <default web site location>\samples\javascript.  On a default IIS install, that would be C:\inetpub\wwwroot\samples\javascript.

psahay