Customize Report Output Formats in IBM Cognos Connection and IBM Cognos Viewer
The report formats available to a user appear in the user preferences. For more information, see Personalize the Portal.
The report formats are controlled by the format element of the reportFormats parameter in the system.xml file located in the c10_location/templates/ps directory.
The format element has the following attributes:
Attribute |
Value |
Description |
---|---|---|
id |
Report output formats. For example, HTML or PDF |
Specifies the supported report format. This attribute cannot be modified. |
browserHide |
ie safari moz other |
Excludes Web browsers in which the report format should be hidden from users. You can modify this attribute. |
downloadable |
true false |
Specifies the download support. You can modify this attribute |
appMode |
basic - basic run options and preferences adv - advanced run options and scheduling rv - report viewing options |
Specifies the IBM Cognos software functions where the report format must be supported. You can modify this attribute. |
extension |
Extension value For example, xls |
Optional attribute that specifies the file extension of the output format. It is used to control download functionality. |
mime |
Mime value. For example, application/vnd.ms-excel |
Optional attribute that specifies the MIME type. It is used to control download functionality. |
cafaction |
true false |
Specifies the IBM Cognos Application Firewall settings. This attribute cannot be modified. |
Note: Because the format element settings can be used to control access to output formats, this setting can affect how reports that were saved previously are accessed. For example, if a report is saved in PDF format, users cannot view the saved report if the administrator chooses to make the PDF format unavailable.
The following example shows how to remove CSV format from the list of available format options. For example, when setting personal preferences or scheduling reports, while still allowing users access to saved CSV output in the portal.
<format id="CSV" browserHide="" downloadable="true"
appMode="" extension="csv"/>
The following example shows how to hide the report output completely.
<!--<format id="CSV" browserHide=""
downloadable="true" appMode="" extension="csv"/> -->