botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Emulator doesn’t allow clickable response

Open ganeshnj opened this issue 10 years ago • 8 comments

I‘ve just updated to the newer version (1.0.1.70) of Bot Emulator and since then I’m not able to respond by clicking on buttons (E.g. Prompt responses) in the conversation. The emulator does nothing on click, however text response still working.

Anyone else facing the same issue?

ganeshnj avatar Jun 10 '16 12:06 ganeshnj

Can you send example serialization of your message? I am not able to repro this

tomlm avatar Jun 10 '16 16:06 tomlm

Today, when I opened the Emulator, it restored itself to version 1.0.0.66 and now it works fine.

ganeshnj avatar Jun 13 '16 08:06 ganeshnj

Hi Tom...I'm from Microsoft as well and can repro the issue. If it's helpful for you, I'd be happy to sync with you on it.

JonathanHuss avatar Jun 15 '16 15:06 JonathanHuss

The newer version (1.0.1.70) still has the same issue.

ganeshnj avatar Jun 15 '16 15:06 ganeshnj

I still can't repro this, you will need to provide more information. What does your button definition look like?

tomlm avatar Jun 24 '16 18:06 tomlm

OK, I have figured out what is going on here. The emulator correctly implements buttons that have {"title": "xyz", "value":"qwe" }. The C# Bot Builder SDK on the other hand generates buttons with just the "Title" property and no "Value", which causes the emulator to think there is no action to perform. When I tried to repro I was using a test written below the bot builder SDK, and so I couldn't repro it.

We are going to push out a new build of the emulator today.

tomlm avatar Jun 28 '16 17:06 tomlm

We just pushed a new version of emulator 1.0.0.72 that should have a fix for this issue.

msft-shahins avatar Jun 28 '16 18:06 msft-shahins

Yep, the update seems to work as expected for me. Nice work! Thank you!

JonathanHuss avatar Jun 28 '16 18:06 JonathanHuss