Closed sreeharikm closed 7 years ago
@danmarshall thoughts?
@sreeharikm If you need to design custom card layouts, use the Adaptive Cards JSON spec.
You can find examples and a layout visualizer here: http://adaptivecards.io/visualizer/
Thanks for the update, will check on Adaptive Cards.
@danmarshall Tried the sample code give in the Adaptive Cards documentation and noted, the HttpAction is not supported.
Also, would like to know is there suggestions on the extending type scripts (without using Adaptive Cards, since we have a WebChat version already running without Adaptive Cards) for custom functionalities? The worry is how do we merge further updates if we directly modify the source code. Thank you.
Hi @sreeharikm if you are only needing to add text and image fields then using AdaptiveCards will be an easier situation for you if you are concerned with code maintenance.
The worry is how do we merge further updates if we directly modify the source code
This is a primary function of GitHub. Recommend you read GitHub's Working with forks pages, with attention to Syncing a fork.
I'm going to close this issue here in BotBuilder, since this is related to Web Chat only. Feel free to open a new issue in the Web Chat repo.
We are using WebChat to build a custom UI for the bot. There are some requirements to display thumbnail/hero cards with additional text fields and image fields. Currently, we tried updating the tsx files from the repository, built it and created the botchat.js. Kindly clarify the below queries.
Regards Sreehari