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

Javascript and Finish Button

Started by sujitgouda, 27 Jun 2014 01:50:38 PM

Previous topic - Next topic

sujitgouda

Hi,

When I unfilter my prompts on the report studio, and click on finish button. I am not getting the desired result or the default report studio output page.

As soon as I unfilter, all of my prompts gets unfiltered and on click on finish I get a blank page.

I want my report to retain the value of the parameter "p_time_period" to default it to "Daily" when I click on finish.

I have a created an unfilter button with below javascript.
<script>
function reset()
{
document.formWarpRequest._oLstChoicesp_subchannel.selectedIndex = -1;
document.formWarpRequest._oLstChoicesp_territory.selectedIndex = -1;
document.formWarpRequest._oLstChoicesp_vehicle.selectedIndex = -1;
document.formWarpRequest._oLstChoicesp_startegy.selectedIndex = -1;
document.formWarpRequest._oLstChoicesp_firmname.selectedIndex = -1;
document.formWarpRequest._oLstChoicesp_time_period.selectedIndex = 1;
}
</script>
<a href="#" class="bt" style="text-decoration: none" onClick="reset();">Unfilter