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

How to show carousel in web channel?

Open Angel-Mu opened this issue 9 years ago • 5 comments

Hi!. I review the code and made my fork trying to check how the carousel will be displayed, but didnt make work as expected.

{
      text: "some text",
      type: 'message/card.carousel',
      attachmentLayout: 'carousel',
      attachments: attachments
}

After that Im able just to view cards as listed!

image

Angel-Mu avatar Jan 10 '17 21:01 Angel-Mu

The 1.0 version of WebChat does not support carousel. You can use the new version (which does support carousels) by clicking "Enable Preview" in the WebChat config page.

LarsLiden avatar Jan 11 '17 00:01 LarsLiden

just one more question... Where is the WebChat config page? are you talking about enable in repo, or in My Bots Section of MS botframework?

Angel-Mu avatar Jan 11 '17 16:01 Angel-Mu

@LarsLiden I tried this but still getting the cards in list format.

a-rmz avatar Jan 11 '17 18:01 a-rmz

@Angel-Mu, Please follow this link, here you can find the Web Chat Sample - https://github.com/Microsoft/BotFramework-WebChat

virendrak avatar Jan 12 '17 10:01 virendrak

Oh!!! Ok, thanks 👍

Angel-Mu avatar Jan 12 '17 15:01 Angel-Mu