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.
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>
You can use security groups in system.xml.
http://pic.dhe.ibm.com/infocenter/cbi/v10r2m1/index.jsp?topic=%2Fcom.ibm.swg.ba.cognos.ug_cra.10.2.1.doc%2Ft_asg_hide_ui_element_system.html (http://pic.dhe.ibm.com/infocenter/cbi/v10r2m1/index.jsp?topic=%2Fcom.ibm.swg.ba.cognos.ug_cra.10.2.1.doc%2Ft_asg_hide_ui_element_system.html)
I think you want the RV_TOOLBAR_BUTTONS_DOWNLOAD item.