Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2823

Re: How to read multiple values from the prompt variable to assign as default values

$
0
0

Hi Karol,

 

 

Thanks for your reply,

 

You are correct ,we can use the pre-filtering available on design studio, but instead of  using the  available prompt dialog box,  we have created our own by making the show prompts on startup = false at properties tab of application.

 

How we created our own prompt dialog box

 

Take a popup and place dimension filters and select the dimensions from data source which need to be filtered .

 

When application start up first this popup which is holding these dimension filters will  come for users like how the original prompt dialog will appear when our queries having prompt variables .

 

Now on popup let's say we have this city dimension filter also, now this need to be displayed&filtered  with the default 3 cities  for eg.

 

for this HANA side already one existing variable created "00city" which is holding these 3 cities .

 

Now  this variable need to be assigned to our city dimension filter which is there on popup , so that when application  starts it will show/assign these 3 default cities .

 

 

As I explained in my previous post only Hard coding of values is working ,like below

 

DS_1.setfilter("City",["C001","C002","C003"]);

 

but Hard coding is not an good idea , as you know later it may change , so for this reason what ever existing HANA default variable available that need to used for this .

 

I tried different ways as I explained previously (get variable/set filterExt code, for loop) ,but for some reason they are not working .

 

Please suggest me how can I achieve this .

 

Regards,

Kumar.


Viewing all articles
Browse latest Browse all 2823

Trending Articles



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