Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

Optional Prompt in BEx always pops up

$
0
0

Hello all,

 

I am having an issue concerning an optional prompt for time. I am using:

- BEx query with optional, multiple selection prompt for Time

- DS 1.3

 

I have 2 tabs and I have made everything not visible until the Time Selection is made for both of these tabs. When the user selects a time period from Tab 1, the components become visible from tab 2 so they don't have to select the year again (same datasource so the filtering is working). I would like this to work the other way around as well: if the user decided to choose tab 2 to start with, then tab gets populated.

However, every time i change tab, the prompt popups even when the button is not pressed, and even after a selection is made.

 

The script I have so far is [please disregard the syntax - the script is error free in my DS]

Button 1 of Tab 1:

Application.openpromptdialog(500,500);

components of tab 1.setvisible(button 1.isenabled);

componenents of tab 2. setvisible(button 1. isenabled);

 

Then on button 2 of tab 2

application.openpromptdialog(500,500);

components of tab 1.setvisible(button 2.isenabled);

components of tab 2.setvisible(button 2. isenabled);

 

Can anyone please guide me to what I can add as script so the prompt doesn't show up when the user changes tab?

 

Thank you,

Nikki


Viewing all articles
Browse latest Browse all 4216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>