Hi
I want to ask the user a question, the question is a multiple choice question which has dynamic options so I have to use adaptive cards for that. How do I acccess my global variables inside the adaptive card ?
The choices for my question would be the global variables which are strings.
How do I assign the title of a choice to my global variable string ? I tried using ${…} , but it doesn’t seem to work
Hi,
You can use OptionSetInfo PowerFX function, e.g. OptionSetInfo(Topic.ClosedListVariable). This function will return the id of the option.
You can also use Text() function to return the title of the option. By default Title == Id but it may not be the case in the future when PVA will support multi-lang bots.
Romain The Low-Code...
76
Pablo Roldan
61
stampcoin
10