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

Disable CSV output for Users but not for Administrators

Started by Croky, 19 May 2016 03:55:09 AM

Previous topic - Next topic

Croky

If it's possible to disable the option "View in CSV" for customers/users, but keep it still  available for Administrators.

cognoslearner1


To achieve this you have to make changes in systems.xml file . Please find the below steps.

Open the system.xml file in the c10_location/templates/ps directory.

In the below code, remove or comment out the format element associated with the report format you want to disable.
<param name="reportFormats">
<!-- Comments -->
   <format id="HTML" browserHide="" downloadable="false"
appMode="basic adv rv"/>
   <format id="XHTML" browserHide="" downloadable="false"
appMode="adv"/>
   <format id="HTMLFragment" browserHide="" downloadable="false" appMode="adv"/>
   <format id="PDF" browserHide="" downloadable="true"
appMode="basic adv rv" extension="pdf"/> -->
   <format id="spreadsheetML" browserHide="safari" downloadable="true"
appMode="basic adv rv" extension="xlsx"/>
   <format id="XLWA" browserHide="safari" downloadable="true" appMode="basic
adv rv" extension="xls" mime="application/vnd.ms-excel"/>
   <format id="singleXLS" browserHide="safari" downloadable="true"
appMode="basic adv rv" extension="xls"/>
   <format id="XLS" browserHide="safari moz other" downloadable="false"
appMode="basic adv rv" cafaction="true"/>
   <format id="CSV" browserHide="" downloadable="true"
appMode="basic adv rv" extension="csv"/>
   <format id="XML" browserHide="" downloadable="true"
appMode="basic adv rv" extension="xml"/>
</param>


The following example shows how to disable the PDF format:

<!-- <format id="PDF" browserHide=""
downloadable="true" appMode="basic adv rv"/> -->
The following example shows how to disable support for the CSV format for advanced run options and scheduling by deleting the adv attribute:

<format id="CSV" browserHide="" downloadable="true"
appMode="basic rv"/>
Save the system.xml file.

Restart the IBM Cognos service.

http://www.ibm.com/support/knowledgecenter/SSRL5J_1.1.0/com.ibm.swg.ba.cognos.ug_cra.10.1.1.doc/t_customizereportformatsincognosconnectionandcognosviewer.html

-- Cognoslearner1

Penny

Is it not possible to do this in Administration - Capabilities?

cognoslearner1

Yup - This can be done in administration as well. Just go to launch > administration > capabilities > select output as csv . and change permissions here.

--Cognoslearner1.