Adaptive card
8 TopicsHow to forward an adaptive card sent from teams bot
Is there a way to enable forwarding an adaptive card sent from MS teams bot, currently the card is being sent to user using bot framework api. But the user is unable to forward the same adaptive card to other users or channels.36Views0likes1CommentAdaptive card 'Toggle visibility' function stopped working in the New MS Teams
Toggle visibility function in adaptive cards stopped working in the new version of MS Teams. The issue is not reproducible in the older version of MS Teams. It can be reproduced in developer portal with the following card structure example: { "type": "AdaptiveCard", "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "version": "1.4", "body": [ { "type": "Container", "items": [ { "type": "TextBlock", "text": "Request", "size": "Large", "wrap": true, "weight": "Bolder", "spacing": "Small", "horizontalAlignment": "Center" }, { "type": "TextBlock", "text": "Please provide your contact information", "wrap": true, "spacing": "Medium" }, { "type": "Container", "items": [ { "type": "ColumnSet", "columns": [ { "type": "Column", "width": "stretch", "items": [ { "type": "TextBlock", "text": "Contact Data", "wrap": true, "style": "default", "fontType": "Default", "size": "Medium", "weight": "Bolder" } ] }, { "type": "Column", "width": "20px", "items": [ { "type": "Image", "url": "https://adaptivecards.io/content/up.png", "id": "chevronUp1" }, { "type": "Image", "url": "https://adaptivecards.io/content/down.png", "id": "chevronDown1", "isVisible": false } ], "selectAction": { "type": "Action.ToggleVisibility", "targetElements": [ "contactData", "chevronDown1", "chevronUp1" ] } } ] }, { "type": "Container", "items": [ { "type": "Input.Text", "id": "rt_user_first_name", "errorMessage": "Please input contact person first name", "label": "First Name", "spacing": "Small", "value": "{{memory.rt_user_first_name}}", "isRequired": true }, { "type": "Input.Text", "label": "Last Name", "id": "rt_user_last_name", "errorMessage": "Please input contact person last name", "spacing": "Small", "value": "{{memory.rt_user_last_name}}", "isRequired": true }, { "spacing": "Small", "regex": "^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$", "isRequired": true, "value": "{{memory.rt_user_email}}", "placeholder": "email address removed for privacy reasons", "label": "Email", "type": "Input.Text", "id": "rt_user_email", "errorMessage": "Please provide the contact person email" }, { "spacing": "Small", "regex": "^[+][0-9]{10,12}$", "maxLength": 13, "value": "{{memory.rt_user_phone_number}}", "placeholder": "+1", "label": "Phone Number", "type": "Input.Text", "id": "rt_user_phone_number", "errorMessage": "Asking you to kindly enter the phone number in the international format, starting with +, then the country code, operator code and your local number." } ], "id": "contactData", "spacing": "Small" } ] } ] }, { "type": "Container", "items": [ { "type": "ActionSet", "actions": [ { "type": "Action.Submit", "title": "Submit" } ] } ] } ] }1.1KViews3likes7CommentsCommand menu not show in Teams mobile app
Hi, I just create my chat bot on Teams and I add some "Command menu" in Teams Developer page. So that can show on Desktop but did not show on mobile application. Here's my short manifest from Developer page. "bots": [ { "botId": "497ed9a0-1823-4a6c-8d3c-b0281b024645", "scopes": ["personal"], "commandLists": [ { "commands": [ { "title": "Change use case", "description": "เปลี่ยนหัวข้อในการสนทนา" }, { "title": "Read privacy policy", "description": "อ่านนโยบายความเป็นส่วนตัว" }, { "title": "Read terms of use", "description": "อ่านข้อกำหนดและเงื่อนไขการใช้บริการ" } ], "scopes": ["personal"] } ], "isNotificationOnly": false, "supportsCalling": false, "supportsVideo": false, "supportsFiles": false } ] But when I testing Adaptive Card via Developer Protal that will show "Suggested prompts" on the bottom right. So the "Command menu" and "Suggested prompts" are the same feature? and why that not working on my bot? Here's the attachment205Views0likes4CommentsThere is no shadow when moving mouse upon an adaptive card column which was set "Selection action".
There is a shadow when moving mouse upon an adaptive card column which was set "Selection action" in adaptive card designer. However, with same adaptive card codes, there is no shadow when moving mouse upon an adaptive card column which was set "Selection action" in teams chat. The adaptive card codes is : { "type": "AdaptiveCard", "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "version": "1.6", "body": [ { "type": "ColumnSet", "columns": [ { "type": "Column", "width": "stretch", "items": [ { "type": "TextBlock", "text": "New TextBlock", "wrap": true } ], "selectAction": { "type": "Action.OpenUrl", "url": "https://adaptivecards.io/designer/" } } ] } ] }455Views0likes3CommentsHow to use the adaptive metadata
I want to use adaptive metadata store some data in teams bot, and get the data in handleTeamsTaskModuleFetch() when I click the button in the adaptive card. Is it possible? If not, can anybody please give an example how to use the adaptive metadata correctly.1.2KViews0likes7CommentsShare to Ms Teams - preview a Hero Card
I'm trying to do a Teams integration into our application. There is a "Share to Ms Teams" button and when the user clicks on it, I want to show a Hero Card preview instead of the default preview it offers. Is there a way I can do it? Share to Ms Teams: https://developer.microsoft.com/en-us/microsoft-teams/share-to-teams#scroll-to-teams https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/share-to-teams1KViews0likes1CommentThe bot is not part of conversation roster error in Adaptive card message to Teams in flow
I made two actions in a flow in Power Automate. 1. Post a message to a Teams channel 2. Post an Adaptive Card to Teams channel I got an error in the Adaptive card message. "The bot is not part of conversation roster" Please help me to find the reason and a solution.8.3KViews0likes6CommentsSending adaptive card and receive response in Teams using Python
Hi all, I'm working on a project that involves sending adaptive cards to users and I also want to receive any response from the users and follow up to execute other actions (log down responses,comments etc...). My adaptive card is similar to this sample below: I have tried Microsoft Flow but it has many limitations that made me decide to go ahead with using Python instead. I have three questions: 1) Must I create a Teams Bot using Python and Bot Framework in order to send adaptive cards and receive responses to do follow up actions? 2) I read that Microsoft Teams "Incoming Webhooks" only supports message cards and not adaptive cards. Do message cards allow for actions by end users? 3) Are there any other methods without creating a bot? Sorry for the lengthy post and any help is greatly appreciated!! (:19KViews0likes7Comments