0% found this document useful (0 votes)
57 views2 pages

Excel in HTML Icon. To Open The Report, Launch Excel Application First and

Excel output attachments from Cognos 8 and ReportNet come in different file formats depending on the version of Excel used. Cognos 8 outputs use .HTML, .MHT, or .XLS file extensions while ReportNet uses .XLS, .HTML, or .MHT. Users should open the attachments by launching Excel first before opening the file rather than double-clicking, and changing file associations if needed, in order to properly view the Excel report contents.

Uploaded by

cognosap
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views2 pages

Excel in HTML Icon. To Open The Report, Launch Excel Application First and

Excel output attachments from Cognos 8 and ReportNet come in different file formats depending on the version of Excel used. Cognos 8 outputs use .HTML, .MHT, or .XLS file extensions while ReportNet uses .XLS, .HTML, or .MHT. Users should open the attachments by launching Excel first before opening the file rather than double-clicking, and changing file associations if needed, in order to properly view the Excel report contents.

Uploaded by

cognosap
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

What is the expected behaviour for Excel output options when sent as email

attachments for ReportNet and Cognos 8?


 
 

Resolving the problem


For Cognos 8:
There are multiple versions of Excel output for backwards compatibility
reasons:
CSV - raw data, no formatting, only possible with single Query reports.
Delivered in email as a .CSV file.
Excel 2000 Single Sheet - all report pages rendered to one Excel 2000
worksheet. Usually delivered in email as a .HTML file.
Excel 2002 - each report page is rendered to its own Excel 2002 worksheet,
in a single Excel 2002 workbook. Usually delivered in email as a .MHT or
HTML file.
Excel 2007 - each report page is rendered to its own Excel 2007 worksheet,
in a single Excel 2007 workbook. Usually delivered in email as a .MHT or
HTML file.
NOTE: set RSVP.FILE.EXTENSION.XLS to TRUE on the Batch Report Service
and Report Service as per the Cognos 8 Administration and Security guide in
order to use XLS as the file extension on XLS output format email
attachments instead of HTML.
The Excel types are often delivered via email as .HTML and .MHT files
(supported Excel file types) instead of .XLS files for several reasons:
- .XLS files are prone to macro viruses and as such are blocked by many
email servers.
- Using HTML/MHT files (supported Excel file types) permits users without
Excel installed locally to view the files as well as those who have Excel
available, thus potentially increasing a report's target audience.
Therefore, you should not be expecting .XLS files in the emails, instead you
should be getting .HTML or .MHT files depending on which version of Excel
you selected (HTML for Excel 2000 and MHT for Excel 2002). Cognos 8 uses
a Microsoft-supplied open document standard that effectively embeds the
Excel format into an HTML or MHT document.
For the .HTML email attachments, users can simply double-click the HTML
and open it in Internet Explorer. Subsequently, they can go File --> Edit
with Microsoft Office Excel. Alternatively, you can save the email
attachment and give it an XLS extension.
For .MHT email attachments, users can open these directly in Excel. By
default Windows may associate .MHT files with Internet Explorer, but you
can change this:
1) Save the .MHT file locally to your machine.
2) Right-click on the file and ensure the you are on the General tab.
3) Where it says Opens With, click Change
4) Select Microsoft Office Excel from the list
By going through the above four steps users will then simply be able to
double-click on the .MHT files to open these in Excel.
For ReportNet:
1. Email Excel 2000 report in ReportNet.
There should be two attachments in the email. They are XXXXX.xls and
XXXXX.html. The report can be opened by double clicking the XLS file from
the email. To save the report, save both files into same folder.
2. Email Excel 2000 Single Sheet report in ReportNet.
There should be one attachment in the email named XXXXX.html with an
Excel in HTML icon. To open the report, launch Excel application first and
then open the file from Excel, or right-click the file and select Open With
Excel.
3. Email Excel 2002 report in ReportNet.
There should be one attachment in the email named XXXXX.mht. To open
the report, launch Excel application first and then open the file from Excel, or
right click the file and select Open With Excel.
4. Email Excel 2000 report in older versions of Cognos 8.
There should be two attachments in the email. They are XXXXX.xls and
XXXXX.html. You can not open the report by double clicking the XLS file from
the email (a missing file error will occur. This is design intent). Save both
files under same folder, and open the XXXXX.xls from there.
5. Email Excel 2000 Single Sheet and Excel 2002 report in older versions
Cognos 8.
The behaviour is the same as ReportNet.

You might also like