COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: kennyyeungkw on 27 Oct 2010 12:52:09 AM

Title: Auto_submit function with mult-selection and Parameter passing Problem !
Post by: kennyyeungkw on 27 Oct 2010 12:52:09 AM
I have a page the layout like :
(http://bobby.com8.hk/Portal1.JPG)

User will select the parameter and apply to the rest of the portal

In the search areas . There are two selection box .
Selection 1 : Item Group
Selection 2 : Item
both can be multi-selection

What i want to do is when i select the Item Group and Selection 2 will only display the Item Group that i selected .
Because Item Group needed to be multi-selection,the auto-submit function not working.

Also ,if the auto-submit function work , the report may refresh the whole page without selecting the Item .This make the performance become really bad.
It there any solution to refresh the page until the user have selected all the parameter that he wanted?

Title: Re: Auto_submit function with mult-selection and Parameter passing Problem !
Post by: blom0344 on 27 Oct 2010 06:13:11 AM
Yes, :

option1: use multiple prompt pages with auto-submit.
option2: use a reprompt button with no auto submit on the previous prompt
Title: Re: Auto_submit function with mult-selection and Parameter passing Problem !
Post by: kennyyeungkw on 27 Oct 2010 10:47:33 PM
I may take option 2 .makes sense

But , if i press the reprompt button . the parameter will pass immediately to the rest of the portal .
This is a big performance issues . My management must open fire on me ..

Is there a way (Maybe modify the a final submit buttom /reprompt buttom ) to only refresh Portal 1 only
After user have selected all the parameter he want ,then pass a final buttom to invoke the passing of parameter to other portal
Title: Re: Auto_submit function with mult-selection and Parameter passing Problem !
Post by: Sreeni P on 29 Oct 2010 03:47:23 AM
Quote from: kennyyeungkw on 27 Oct 2010 10:47:33 PM
I may take option 2 .makes sense

But , if i press the re prompt button . the parameter will pass immediately to the rest of the portal .
This is a big performance issues . My management must open fire on me ..

Is there a way (Maybe modify the a final submit buttom /re prompt buttom ) to only refresh Portal 1 only
After user have selected all the parameter he want ,then pass a final buttom to invoke the passing of parameter to other portal

Hi

what ever blom has said that is fully working example, but in your case if you want to refresh Portal one alone, then you need to put that prompt of Portal1 into a Block and write a javascript on the even of re prompt/submit button press.

but it a work around solution.
Title: Re: Auto_submit function with mult-selection and Parameter passing Problem !
Post by: kennyyeungkw on 01 Nov 2010 01:39:21 AM
Thanks for the reply .
Is there any example for referencing?