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

 

Any option to allow the specified users to download report in cognos ?

Started by Sridhar Vuppugalla, 10 Jan 2014 01:50:04 AM

Previous topic - Next topic

Sridhar Vuppugalla

Hello every one,

Is there any option to allow the specified set of users to download the report in cognos? In our cognos environment, we have already modified the system.xml files, and we have blocked the download option in cognos viewer. But now requirement has come, asking us to allow for set of specified users. Any one got a clue on this, pls. help us.

adik

put a html item in your report with the following code in it:


<html>
<head>

  <script>
  function gotoUrl()
  {
  var obj=document.all['OutputFormat'];
  window.onload(gCognosViewer.getRV().viewReport(obj.options[obj.selectedIndex].value));
  }
  </script>

</head>

<body>

<p> Save report as...: </p>
  <select name="OutputFormat" onchange="gotoUrl()">
    <option value="HTML">HTML</option>
    <option value="PDF">PDF</option>
    <option value="singleXLS">Excel 2000 Single Sheet</option>
    <option value="spreadsheetML">Excel 2007</option>
    <option value="XLWA">Excel 2002</option>
    <option value="XLS">Excel 2000</option>
    <option value="CSV">Delimited text (CSV)</option>
    <option value="XML">XML</option>
  </select>

</body>
</html>

bdbits