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

Select Report Output Formats in Prompt Page

Started by Kalyan cognoise, 25 Aug 2009 07:05:08 AM

Previous topic - Next topic

Kalyan cognoise

Hi All,

My user wants to select report output formats in the Prompt page(HTML,PDF,XLS,CSV).Is there anyway
to achieve this.If so.. pls send me the steps.


EArumugam

use this script in prompt page:

<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>

u can modify the value in -- onClick="runInFormat('singleXLS');">  statement for pdf html instead of signlexls

Kalyan cognoise


EArumugam

hi kalyan,,

for me its not working.

i pasted the html code. in prompt page.

after selecting the prompt value when i click any of hte button , the report open in format which i slected, but the filter is not working, ie., it works for ALL.

any suggestion from your side...