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

 

Java Script is not working in Cognos 102 Work Space !!!!!!!

Started by krishna.cog@gmail.com, 07 May 2013 06:48:15 PM

Previous topic - Next topic

krishna.cog@gmail.com

Hi All,

I have a report studio dashboard in there I have implemented the Java Script to dynamically
select the first row value from the value prompt. which is in the prompt page. 
It is working as is expected in Report Studio. 

Now my objective is to put this dashboard report in Cognos workspace. 

When I kept the dashboard report in the workspace Java script associated with the
value prompt is not working.  it is just bringing me the value prompt not selecting the value by default. 

Is there any body has come across the same?  Please share me your thoughts.

Apart from this I have also tried to use parameterized url's but my problem is I can't pass the prompt values neither in business insight nor in workspace.

If the above two methods are not possible is it possible through SDK?

Please advise.

Thanks
J

krishna.cog@gmail.com

Hi Gurus,

Any updates on this issue.  Please let me know your thoughts.

Thanks
J

apache

Hi,

I have a similar problem. I've implemented Java Script to create tabs in my Report Studio report. It also works fine in Report Studio, but not in Cognos Workspace.

When opening Cognos Workspace in IE, a script error is reported:

Message: Object expected
Line: 265034169
Char: 1
Code: 0

CognosPaul

I've had a few problems with JS in workspace and in the portals and have identified a few problem areas with the 10.2 API. Are you using the _THIS_ keyword anywhere? Cognos chokes on that. Replace that with _NS_ and see if it works (it won't work in RS though).

If that doesn't solve it, post the JS in it's entirety.

apache

I wasn't using the new Prompt API that ships with Cognos 10.2. After changing my script functions to use the API, everything is working in both Report Studio and Cognos Workspace.


Manu0521

Can you send me the code, I am facing same issue.

Thanks

ravi.kumar

Can you please share how you have made use of the Prompt API.