on 12-08-2016 6:38 PM
Hello Folks,
I am trying to by-pass Mandatory Bex Prompts.
I dont want the hard-coded date to be pass from Global Script Variables and calling it at variable Ini..event for a simple reason, that date will be a passed date if i run the dashboard anytime after the given hard-coded date.
Challenge ?
Application.getinfo(date);
is not available On Variable Initialization EVENT.
Some thoughts?
Do you think it would be a good idea to pass hard-coded 10 to 11 months or some years in advance ? Design Studio will not return any record and will only retrieve latest and great data available
Appreciate your suggestion and recommendation like always.
Hi Mohd,
In addition to Tammy's suggestion you could also try coming up with a logic on the query exit. For example using a moving range starting at a particular date depending on today etc which is evaluated on the backend during runtime dynamically.
Another line of thought would be loading the query in scripting so that you have all Design Studio scripting methods available.
For example in event On Startup: DS_1.loadDataSource(); DS_1.setVariableValueExt("variable_name", "value");
Kind regards
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martin,
Perhaps the Terminology difference, when you say "Query Exist" is it same as " Exit Variable in bex?. If yes then yes we did that and it worked as expected.
We are on 1.4 so don't have the privilege to target specific data source. SO I'm left with just Application.setVariable... 🙂
Thanks for your response folks
Happy Holidays!!
Hi Mohd,
If the variable needs to be Mandatory, you can set default value for the variable in BW.
You can always set current date as default value to the variable, So you don't have to pass it in dashboard.
Thanks,
Poovarasan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks everyone for your sugestions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The easiest way is to make the mandatory BEx prompts optional in the BEx query - is that an option for you?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.