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

Executing Report with Javascript in C11

Started by br54016, 03 Jan 2018 03:57:15 PM

Previous topic - Next topic

br54016

We have created a report that will be set as the 'Home Page'.  The report display a set of 'Cards' the user can click to run a report. 

We would like the report to open and be available in the dropdown at the middle of the C11 interface.  Currently the report opens as a separate tab in the browser (also open another 'Home Page' report). 

Here is the javascript for one of the cards.

<!DOCTYPE html>
<html>
<body>

<div class="card">


  <div class="container">
<a href="https:./../?pathRef=.public_folders%2F REPORT NAME HERE &format=HTML&prompt=true&action=run&p_P_Perspective=1" target='_new' >
  <img src="../../samples/images/imagename.png" alt="Resource Utilization" align="middle" style="width:50%" >
    <h4>CARD NAME</h4>
    <p>CARD DESCRIPTION</p>
  </div>
</div>

</body>
</html>