on 01-26-2015 3:38 PM
Hello Friends
I have a basic requirement, but i could not find any solution for a few hours, I came here hoping your valuable inputs.
How do i pass Multiple Single Values to Bex variable from a Design Studio screen?
What i find in Help documentation is : to use SetVariableValueExt and enter values as separated with colon (;)
However i tried all possible ways and it is still not accepting my syntax. (my version is 1.3)
Anyone here achieved this anytime before?
for more detail :
i have multiple input text boxes in the screen, and i am trying to pass these values to one variable in my planning sequence.
Hi Sathish,
the method is correct.DS.setVariableValueExt();
the syntax to value is indeed separated by ";" - but, it also allowing complex selections, like:
<single_value>;<interval>; eg. 123; 143 - 384;
and this leads to the fact that this string is always internally parsed.
and therefore all special characters like "-" or "\" or "(" must be escaped with "\" character.
see
you have to check what you pass as the values and if there are some special characters in it, then use Convert.replace() function to place "\" always before such characters.
Karol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.