VanjaV
1
Hi,
In following selector line I need to replace number 3 in [3] with vcActiveContractIdx:
webctrl id=‘C21_W63_V65_V66_searchresultnode_table[3].a3extref’ tag=‘A’ /
Can somenone help me with syntax for this dynamic selector?
Thx and kind regards,
Vanja
HI @VanjaV
You can declare a string variable and prepare your selector in that string, then pass it in the actual selector.
Thanks,
Prankur
VanjaV
3
I have tried it this way:
[‘{{vcActiveContractIdx}}’]
and this way:

but it does not work.
Gokul001
(Gokul Balaji)
4
HI @VanjaV
What you need to do is
You should declare a variable instead of 3 like this
You can look into this thread for steps
Regards
Gokul
3 Likes
Gokul001
(Gokul Balaji)
5
Try with + on both sides intead of {{}}
Srini84
(Srinivas Kadamati)
6
@VanjaV
Can you tell me what this variable contains? vcActiveContractIdx
Thanks
VanjaV
7
Thank you @Gokul001 very much, your suggestion worked! 

Thanks to everyone else for suggestions.
Kind Regards,
Vanja
VanjaV
8
Hi @Srini84 , it contains number.toString, in my test case number 5.
system
(system)
Closed
9
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.