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

 

javascript for dashboard to dashboard drill through opens the drilled dashboard

Started by xyz, 30 Oct 2014 09:20:46 AM

Previous topic - Next topic

xyz

Hi All,

We have a requirement to do dashboard to dashboard drill through in Cognos Workspace, cognos version we are using is 10.2.1 and browser is IE 9. We are able to achieve dashboard to dashboard drill through by using a intermediate report, which uses javascript which will redirect it to the child dashboard along with required parameters, the problem here we are facing is every time, when we try to do drill through from parent dashboard to child dashboard every time dashboard opens in new window. How to avoid dashboard to open in new window, instead we want the dashboard to open in the same window.

Please find the intermediate javascript below.

"<script language=javascript>

function redirect(org,week,slctn,excptns,servername)

     return  'http://'+servername+':90/ibmcognos/cgi-bin/cognosisapi.dll?b_action=icd&pathinfo=/main&ui.action=edit&src=%2Fibmcognos%2Fcgi-bin%2Fcognos.cgi%3Fb_action%3Dicd%26pathinfo%3D%252Ffeeds%252Fcm%252Fpath%252FPublic%2520Folders%252FLabor%2520Exceptions%252FLabor%2520Exceptions%2520Dashboard%26entry%3D;&p_Org='+org+'&p_fiscal_week='+week+'&p_View_Slctn='+slctn+'&p_Labor_Excptns='+excptns;
}
window.location = redirect('"+URLEncode (ParamValue('Org'))+"','"+URLEncode (ParamValue('fiscal_week'))+"','"+URLEncode (ParamValue('View_Slctn'))+"',"+URLEncode (ParamValue('Labor_Excptns'))+",'"+ServerName ()+"');
</script>"

Can some one please provide some suggestion or help, is there any way of achieving the above requirement.

Thanks & Regards,
XYZ