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

[urgent] 3 questions about Saved Cognos Report

Started by imnewbie, 30 Jul 2012 11:38:35 PM

Previous topic - Next topic

imnewbie

I got stuck for this problem for a whole week, but still couldn't resolve it... please anyone can provide any hints? Your help is greatly appricated!

Hi All,

I simply created a report containing only a list of one data item(Period), and created a custom button which calls IE's Save As function. (pls ref. to screen dump as attached)

My case is, when I clicked the "Page down" at the nevigation bar, then the page shows the 2nd page of Period as expected, which is alright so far (as shown in SCREEN 2). I further clicked my custom "Save As" button, it triggered IE's Save feature to save my webpage to my local PC. But I find that the saved page is completely blank when I opened it locally. So I changed the display property value to "block" of div id="CVReportRS" (as shown in SCREEN 3), then the saved page could show the data(Period) without styles associated (as shown in SCREEN 4). However, the data shown is of the page 1, but not page 2 that I was viewing at, why is that?

My questions are:
1. why the saved page is not showing the current report page that I was viewing when I clicked Save As?
2. how can I make sure the property display is set to "block" but not "none" in my locally saved page such that the content could be shown?
3. how can the saved reports associate with the CSS as the same as viewed online?

This is just a demo for my situation. My purpose to making such custom Save button is to CONVENIENTLY allow my users to save the financial report to their local PC durig their online report viewing. Thanks!

ps. below is the code for the custom button
<button onclick="document.execCommand('saveAs','true','HTMLReport.html');" class="outLink" onmouseover="window.status='';return true;" onmouseout="window.status='';return true;">Save As</button>