Closed darkcat013 closed 1 month ago
Please try the following and see if that works for you:
=createArray({value: true, action: {title:'Yea', text:'Yea', displayText: 'Yeas', type: 'messageBack'}}, {value: false, action: {title: 'Nope', text:'Nope', displayText: 'Nooo', type: 'messageBack'}}, {value: true, action: {title:'Maybe', text:'Maybe', displayText: 'mby', type: 'messageBack'}})
I tried with yours (${}
), but I did not receive an error. I am running version 4.21.2
.
Is this in Bot Framework Composer or just simply using the SDK?
Please try the following and see if that works for you:
=createArray({value: true, action: {title:'Yea', text:'Yea', displayText: 'Yeas', type: 'messageBack'}}, {value: false, action: {title: 'Nope', text:'Nope', displayText: 'Nooo', type: 'messageBack'}}, {value: true, action: {title:'Maybe', text:'Maybe', displayText: 'mby', type: 'messageBack'}})
I tried with yours (
${}
), but I did not receive an error. I am running version4.21.2
.Is this in Bot Framework Composer or just simply using the SDK?
Hi, I'm using the SDK and I need the ${} to use a template from LG file, it works with = I've updated the library to 4.12 and it works with ${} so might be a bug in the earlier version. Thanks!
Version
4.11.1
Describe the bug
In the documentation it is said that ConfirmChoices is an adaptive expression which supports the usage of ${} but when I try to use it, it throws this exception:
To Reproduce
Steps to reproduce the behavior:
Use the following code:
Expected behavior
The expression within ${} creates an array with the suggested actions.