Skip to Content
0

Passing prompt with blank space Between Design Studio and WebI

Dec 06, 2017 at 04:03 PM

55

avatar image
Former Member

Hello expert,

I have a Dashboard which using Design Studio. This dashboard can drill down to Detail report (using WebI).

I struck at pass prompt to WebI because the mandatory prompt is consist of bank space.

E.g MandatoryPrmpt=OCT 2017

I try to pass

[Webi link]+"&lsSMandatoryPrompt="+DROPDOWN_MONTH.getselecteValue()+" "+DROPDOWN_YEAR.getselectedValue();

But it not work.

Please give me any suggestions :)

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Arijit Das Dec 20, 2017 at 09:06 AM
0

Blank space in url can be replaced by '+' or '%20'.

Also, you can use following function to encode the parameter value:

Convert.urlEncode(string)

For example,

[Webi link]+"&lsSMandatoryPrompt="+Convert.urlEncode(DROPDOWN_MONTH.getselecteValue()+" "+DROPDOWN_YEAR.getselectedValue()); 
Share
10 |10000 characters needed characters left characters exceeded