adaptive-cards

how to increase the size of the adaptive card?

人走茶凉 提交于 2020-07-03 08:55:32
问题 I have used an adaptive card to show data on a table format. There are four columns showed on the adaptive card. On Bot framework emulator it shows proper data as shown image. On bot framework emulator it shows proper column data. But when it deployed on teams, Its last column data get truncated, How to solve it? how to increase the size of the adaptive card? 回答1: The width of Adaptive Cards in the Teams client is determined by the Teams client itself based on the current viewing area width -

how to increase the size of the adaptive card?

不问归期 提交于 2020-07-03 08:52:29
问题 I have used an adaptive card to show data on a table format. There are four columns showed on the adaptive card. On Bot framework emulator it shows proper data as shown image. On bot framework emulator it shows proper column data. But when it deployed on teams, Its last column data get truncated, How to solve it? how to increase the size of the adaptive card? 回答1: The width of Adaptive Cards in the Teams client is determined by the Teams client itself based on the current viewing area width -

how to increase the size of the adaptive card?

耗尽温柔 提交于 2020-07-03 08:52:06
问题 I have used an adaptive card to show data on a table format. There are four columns showed on the adaptive card. On Bot framework emulator it shows proper data as shown image. On bot framework emulator it shows proper column data. But when it deployed on teams, Its last column data get truncated, How to solve it? how to increase the size of the adaptive card? 回答1: The width of Adaptive Cards in the Teams client is determined by the Teams client itself based on the current viewing area width -

Display number in adaptive card

天涯浪子 提交于 2020-07-02 03:09:27
问题 I have the following simple card: { "type": "AdaptiveCard", "version": "1.0", "body": [ { "type": "TextBlock", "text": "{data}" } ], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json" } When I apply the following data to the card (value is number), the text box is empty: { "data":11111 } With text, the I can see the data in the card: { "data":"11111" } This is not a code issue, this is how it looks in the designer. Am I missing something, is there a type for a text box that lets

How to Disable Button after single use in a adaptive card

戏子无情 提交于 2020-07-02 03:02:40
问题 I am using adaptive card in my LUIS agent. I want if a user has filled the details in an adaptive card after that the submit button should get disabled. And also i would like to know that how to hide a button when we are displaying a nested adaptive card on a button click I have tried validating the card using the values input given by the user. But i am looking for a better and more optimal solution for this p.s working on bot framework v4 API 回答1: In a channel like Teams, your bot can call

Adaptive card in teams not workig - REST API

久未见 提交于 2020-06-17 09:42:39
问题 I created a bot ( nodejs server) for teams - through bot framework. I'm trying to send adaptive card that I created through: adaptive cards designer and I get error : {"code":"BadArgument","message":"ContentType of an attachment is not set"} The request body : { "type": "message", "from": { "id": "xxxxxx" }, "conversation": { "id": "xxxxxx" }, "recipient": { "id": "xxxxx" }, "replyToId": "xxxxx", "text": "some text", "attachments": [ { "type": "AdaptiveCard", "$schema": "http://adaptivecards

In bot framework v4, how to implemente rating card with comment box and submit button

廉价感情. 提交于 2020-06-12 12:22:35
问题 I have made a bot framework V4 using C#. I have made star rating in adaptive card but I need to add comment box and submit button in it,but my submit button is not working.In debugging mode its not hitting the any method of bot.Kindly help me. I am also attaching the code of my rating card having comment box and submit button in it. { "type": "AdaptiveCard", "body": [ { "type": "TextBlock", "size": "Medium", "weight": "Bolder", "color": "Accent", "text": "Rate your experience!" }, { "type":

In bot framework v4, how to implemente rating card with comment box and submit button

…衆ロ難τιáo~ 提交于 2020-06-12 12:18:02
问题 I have made a bot framework V4 using C#. I have made star rating in adaptive card but I need to add comment box and submit button in it,but my submit button is not working.In debugging mode its not hitting the any method of bot.Kindly help me. I am also attaching the code of my rating card having comment box and submit button in it. { "type": "AdaptiveCard", "body": [ { "type": "TextBlock", "size": "Medium", "weight": "Bolder", "color": "Accent", "text": "Rate your experience!" }, { "type":