COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: EArumugam on 24 Aug 2009 06:22:46 AM

Title: unable toe xport to excel
Post by: EArumugam on 24 Aug 2009 06:22:46 AM
Hi All ,

<button type="button" name="finishOutput" id="finishOutput"
style="" class="clsPromptButton"
onmouseover="this.className = 'clsPromptButtonOver'"
onmouseout="this.className = 'clsPromptButton'"
onClick="runInFormat('singleXLS');">
Export to Excel</button>
<script xmlns:xIE6="http://developer.cognos.com/prompting/x IE6">
var promptButtonfinishOutput = new CPromptButton
(document.getElementById("finishOutput"),
PROMPTBUTTON_FINISH, true);
pageNavigationObserverArray pageNavigationObserverArray.concat('promptButtonfinishOutput');
notify();
</script>


I am using the above JS to EXPORT the report to EXCEL.
when i click the button in prompt page after selecting the prompt values.
the report open in excel, but not getting the correct report. filter condition was not working. when i click EXPORT to EXCEL.

but the report works fine when i run in HTML format..

please clarify me ..

Thanks,
Eas