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

 

[Solved] - Can some one provide me a java script to display drill through infrm

Started by xyz, 05 Nov 2014 07:28:46 AM

Previous topic - Next topic

xyz

Hi Gurus,

I am using Cognos 10.2.1 version and have a requirement to display drill through information as the report title in cognos report viewer, when we hover over the window.

Say suppose there is parent report with employee details list, if I click on an employee name say suppose 'John P', then the child report should display the child report cognos viewer as John P - IBM Cognos viewer, when we hover over the window. Is it possible in Cognos? If yes, can some one please provide me the java script for the same.

Your help is much appreciated :)

Thanks & Regards,
XYZ

xyz

Hi All,

Solution found, below java script will allow you to display the drilled information as the child window name.

Follow the steps below.

Just drop an HTML item into the report. Then change the source to be a report expression

'<script>
document.title =" '+  ParamDisplayValue("pRegion")  + ' ";
</script>'

Just change the name of the variable as needed.




Thanks & Regards,
XYZ

sunny bachan prasad

Hi xyz,
Have you tried with layout calculation.i think it will also work.

xyz

Hi Sunny,

Thanks for the reply, I haven't tried with layout calculation, if you have solution can you post here, which will be helpful for me as well as to others.



Thanks & Regards,
XYZ