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

HeroCard Tap Not Working on Skype nor in Web Chat

Open Highvolt opened this issue 9 years ago • 7 comments

I am using Node Botbuilder SDK to create a bot.

I was unable to get a openUrl tap action to work, even though the correct information reaches the client, as shown on this image.

screen shot 2017-02-21 at 10 29 58

For now I am using a button as a workaround.

You can see the code I am using in the link bellow: https://github.com/CatalystCode/bot-graph-dialog/blob/master/src/GraphDialog.ts#L456

Highvolt avatar Feb 21 '17 10:02 Highvolt

I have the same issue with the Emulator. Couldn't test it on other channels yet.
Is it working for you in the Bot Emulator?

ThisWillDoIt avatar Feb 21 '17 11:02 ThisWillDoIt

Another work around that I were able to implement was defining a tap action for the imageCard that were inside de heroCard. (In skype will only work if the link is https)

@ThisWillDoIt I didn't try in bot emulator, but I think the emulator shares the code base with web chat.

Highvolt avatar Feb 21 '17 16:02 Highvolt

Hi @Highvolt, @ThisWillDoIt, Support for tap action on cards will be included in the next emulator release.

eanders-ms avatar Feb 21 '17 17:02 eanders-ms

@Highvolt, tap action on cards was recently added to the Web Chat control (https://github.com/Microsoft/BotFramework-WebChat/pull/336), and will be available in the next update.

eanders-ms avatar Feb 21 '17 17:02 eanders-ms

@eanders-MS thanks. What about Skype?

Highvolt avatar Feb 22 '17 10:02 Highvolt

This is supported in Skype I think it might be because in Skype button actions (and probably tap actions) are restricted to HTTPS only and your URL is HTTP. Please could you try a HTTPS URL and confirm?

nickcordrey avatar Feb 24 '17 06:02 nickcordrey

@Highvolt Did this work for you? I will close this for now but feel free to reopen if it did not work.

carlosscastro avatar Mar 09 '17 17:03 carlosscastro