Questions tagged [adaptive-cards]
Questions regarding the implementation and use of Adaptive Cards for the Microsoft Bot Builder
808
questions
0
votes
1
answer
45
views
Object reference not set to an instance of an object in Teams Channel
its working perfectly in Bot framework Emulator but showing error in Teams on that point
if(Dialog != null)
{
await Dialog.RunAsync( turnContext, ConversationState.CreateProperty<DialogState>(&...
0
votes
1
answer
24
views
Adaptivecards Send POST call to external API in MS Teams
I am building a script that pushes adaptive card messages to an MS Teams channel connector via a webhook requesting the approval of a supervisor.
I want to put two buttons on the bottom of the message,...
-1
votes
0
answers
20
views
"Object reference not set to an instance of an object." showing this error in Teams app when i want to show an adaptive card to user (BotFramework) [duplicate]
private async Task<DialogTurnResult> CreateTicketmessage(WaterfallStepContext stepContext, CancellationToken cancellationToken)
{
try
{
string add ...
0
votes
0
answers
145
views
Task Module empty although
so I created a chat bot which is sending adaptive cards. Those cards contain buttons which start task modules. But the module is empty (see picture).
Empty Task Module
The behaviour in web is slightly ...
1
vote
0
answers
26
views
Bot Framework - Task Module won't start/pop up
I'm trying to open a task module in my chat bot. The bot is already connected to Teams Channel (but no App installed). The bot is working totally fine until the task module should pop up, because it ...
0
votes
1
answer
58
views
MSTeams: Adaptive card header space text
We are sending adaptive card to user from MS teams Application using call graph APIs. While sending card we observed empty space on top of the card. See image below.
Below is what we are passing to ...
-1
votes
0
answers
37
views
GIF | MP4 | BotFramework | c# | MS Teams Channel Deployment
CodeI have to send GIF or MP4 from my DotNetCore solution to MS Teams via Azure Profile. I am developing bot using Bot framework. In Local Testing Gif & mp4 both working fine in Emulator but On ...
0
votes
1
answer
47
views
Using Bot Framework Emulator (v4) updating an already sent adaptive card doesn't work for me
I try to update an already sent message/adaptive card... or more or less exchange the already sent adaptive card with another one. Therefore I'm using the UpdateActivityAsync() function.
In the ...
1
vote
1
answer
40
views
Adaptive in Typescript not rendering adaptive card actions like hyperlinks, text bold, etc
The adaptive card JSON object is as shown below
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"...
0
votes
1
answer
41
views
Does the Media-Element on an Adaptive Card only support a specific MIME-Types/Formats?
my goal is to create a very simple adaptive card, containing a media element. This media element should play different audio/video files streamed from my azure streaming service. Therefore I am using ...
0
votes
1
answer
24
views
Adaptive Card Templating JSON Key with Space
I'm having trouble using an API response for data in regards to Adaptive Card templating because some of the keys have spaces. Here's an example:
Data
{
"General": {
"Computer ...
0
votes
0
answers
56
views
Issue when user clicks Adaptive Card to invoke Task Module in the channel
When the user clicks on the Adaptive Card to invoke Task Module in the iOS Teams client, there is an error. The Adaptive Card works well with other types of clients, like Mac, and Browsers.
Steps to ...
0
votes
1
answer
18
views
Pre-set value in adaptive card input number
How to set a value to an Input.Number using data context?
None of these Adaptive cards work:
{
"type": "Input.Number",
"placeholder": "id",
&...
0
votes
1
answer
88
views
Mark an Adaptive card posted via Incoming webhook in MS Teams as done
We get messages/tasks from an external PHP-server via incoming webhook in a Teams channel. They are posted in the Adaptive Card format using the 'message with attachments' method.
I would like to find ...
0
votes
0
answers
45
views
Botframework - NodeJS - Adaptive Card - Input.Time
I have a azure botframework chatbot running in MS Teams. I got a scenario to show adpative card to user and ask for Date, Start Time and End Time. I'm using Input.Date and Input.Time pickers.
Issue is,...
0
votes
0
answers
67
views
tel:{phonenumber} link in adaptive card not working in channel in Microsoft teams
I have used search extension query based command in Microsoft teams to render result set And as a result set Adaptive card is getting displayed. On click of a button on adaptive card I have added tel ...
0
votes
1
answer
49
views
A generic FileCard attachment for Microsoft Teams Bot Framework based bots for self-hosted files?
https://docs.microsoft.com/en-us/microsoftteams/platform/bots/how-to/bots-filesv4 describes a consent-based file sending process where a bot receives a users consent to upload a file to their onedrive ...
0
votes
1
answer
38
views
Webex Bot framework how to show user selected button text
I'm using MS Teams bot and Webex teams bot, I have some Adaptive-Card buttons on my bot message and I want to know which Adaptive Card button is pressed, by wrting it as a user message.
In MS Teams I ...
0
votes
1
answer
42
views
How to perform action on radio button check in Adaptive Card?
I am using Adaptive cards for the Microsoft teams. I am trying to use the radio button by using the "Input.ChoiceSet" type to perform two different tasks by clicking on the radio button. ...
0
votes
1
answer
66
views
People Picker adaptive element in adaptive cards doesn't work in Teams Android app
I'm trying to use the People Picker element in my adaptive cards and it works very well on the Desktop and iPhone version of Teams. Teams for Android just shows "Unable to show options right now&...
0
votes
2
answers
182
views
Trigger sending an email based on the selected response in an Adaptive Card in MS Teams
I suspect this is too advanced for what Adaptive Cards can do, but I'm asking here to be sure and get alternative ideas if people have any.
My workplace has a process in effect where we must complete ...
0
votes
0
answers
52
views
Can you use Power Automate to Repost an Adaptive Card Bot Post to Another Channel?
I've built a Power Automate flow that posts an adaptive card to a channel I've designated as a "Notification" channel. Sometimes these notifications require discussion but to avoid the order ...
0
votes
1
answer
55
views
How to create a teams card using external webservice and post data in power automate(Part 2)
This is a continuation of my other question:
My first question
What I am trying to accomplish:
User enters a mention
My web service creates an adaptive card form with custom data (same schema)
...
0
votes
1
answer
44
views
how to display the adaptive card in the bot using python language
I have a python chatbot using the Microsoft Botframework and I'm using the Adaptivecardbuilder library and I tried the sample in the docs but I couldn't display the card in the bot
async def ...
0
votes
1
answer
76
views
How to create a teams card using external webservice and post data
I have created an outgoing webhook for my teams channel.
When user enters @aa it calls my external web service and server responds with an adaptive card.
{
"type": &...
0
votes
1
answer
46
views
Adaptive Card Javascript SDK Renders empty Div
I'm attempting to render an Adaptive Card via the Javascript SDK. I have attempted multiple versions of the SDK and used various samples from the Samples library on the Adaptive Cards official site.
...
0
votes
1
answer
49
views
Adaptive Card: What is the best way to display an arbitrary JSON object?
I'd like to generate an adaptive card that contains an arbitrary JSON
object inside.
I anticipate that the JSON object will be shallow.
Maybe it will contain just a list of key-value pairs.
But I ...
0
votes
1
answer
51
views
Action.ShowCard inheriting width from ColumnSet in which it is called
I have created a MS Teams adaptive card below:
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": &...
0
votes
1
answer
97
views
Click on images in adaptive card is not triggering action on IOS devices
Click on images in the adaptive card is not triggering action on IOS devices despite its opening the image viewer.
click is working expected on the web app, desktop app, and Android devices
but ...
1
vote
1
answer
236
views
How do I pass data into an Adaptive Card?
I have a Microsoft Teams bot that sends out Adaptive Cards. I want to dynamically fill those with data (for example pictures). To do so I have 2 different JSON files. One with the layout of the card ...
0
votes
1
answer
261
views
Can I send adaptive cards with actions to teams?
From all the documentation I've seen online it seems like adaptive cards and their most important functions (Actions) still aren't compatible when sending to teams through an incoming webhook, correct?...
0
votes
0
answers
48
views
How to customize the color and fonts for microsoft Adaptivecards Input.choiceset
I'm using v1.2 of the AdaptiveCard SDK in BotFramework Webchat. I need to customize the color of the values of the Input.Choiceset of the Microsoft adaptive cards.
I need to use it in the ...
0
votes
0
answers
66
views
Make hidden Input.ChoiceSet required if toggled to visible
New to Power Automate and adaptive cards. I have an approval process where the card can be approved, rejected or reassigned. Clicking the Reassign button reveals the Input.ChoiceSet element. I wish to ...
0
votes
0
answers
148
views
Adaptive card rendering in bot framework SDK v4 using visual c#
Hi I have developed a chatbot using core bot template in bot framework SDK v4 and I have published it in my azure portal, and Im able to open it in webchat. I am trying to add styles to my adaptive ...
-1
votes
1
answer
107
views
Parse an adaptive card json to C# object and dynamically build Action.Showcards based on my api data
I have an adaptive card json with Action.ShowCard property and 1 submit button. I want to convert it to C# object and loop the Action.showcard to dynamically build multiple showcard buttons based on ...
0
votes
1
answer
190
views
Teams Calling Bot - OnMessageActivityAsync return null value and AdaptiveCard not working
Trying to create and debug Teams calling and meeting bot from Bot Framework v4 for CPI project. found here: CallingBotSample
I have gone through all the steps correctly But I have some problems which ...
-1
votes
1
answer
68
views
Setting up host config for adaptive card in bot framework
I wanted to know how to setup hostconfig to my adaptive card for styles. Im new to bot framework and wanted to know how to implement host config for adaptive card in c# , even checked [https://docs....
0
votes
0
answers
17
views
Is there select/unselect functionality in Adaptive Cards?
I'm using Input.Toggle as a way to select a row in a table (please see image). Now this table can have multiple rows and i want to add a "select/unselect all" button or function. Is this ...
1
vote
1
answer
76
views
Validating adaptive card inputs
I have an adaptive card to get username and password , i need to validate them using the data stored in my cosmos db container. is that possible? suggestions would be appreciated
here is my adaptive ...
1
vote
1
answer
120
views
How to get user value back to Power Virtual Automate from Bot Framework Composer
I am creating a Power Virtual App bot and I am also using Bot framework Composer to display an Adaptive card that is meant to take user input from the Power Virtual App bot.
I'm unable to figure out a ...
0
votes
1
answer
83
views
How can I take the data from choiceSet in adaptive cards
I want the data (i.e value inside choices array) inside the red choiseSet when selected and clicked on the btn, I kept an image and added action submit as action.submit as that's my usecase, I am ...
0
votes
0
answers
36
views
sub is populated with OBJECTID instead of Email Address in Bearer Token Claims in Outlook Actionable Email (Adaptive Cards)
In our actionable email implementation, when user performs some action on the actionable email, we are calling a Power automate flow as the handler. We are using the sub in claims (in the bearer token)...
0
votes
0
answers
147
views
How to extend choice in adaptive card when option in ChoiceSet selected?
I have no idea how to use "Only show when" property in my ChoiceSet. I want "Version" ChoiceSet to be displayed when second option in the first ChoiceSet is selected. Maybe I need ...
0
votes
1
answer
55
views
How can I decode a base64 string in Adaptive-Cards payload?
I need to decode a base64 string being sent from an external service to an MS-Teams Adaptive-Card via a webhook.
I have the webhook setup, tested with postman, all very easy, but I need to somehow ...
1
vote
1
answer
248
views
Bot framework-Adaptive card-Unable to get data
I'm new to bot framework and learning. Here I'm looking for a solution I'm facing in Adaptive card that I using for my chatbot. I learn that we can design that adaptive card as per our need using ...
0
votes
0
answers
51
views
The Typeahead search in Adaptive Cards not working as expected
I am trying to use typeahead search in adaptive cards in Teams Chat, Teams Tab, Teams MessagingExtension. But the same adaptve card working fine in Teams Chat, but it does not work the same in Teams ...
0
votes
0
answers
46
views
Input Value on Action.ToggleVisibility Adaptive Card
Hi I have a flow where issues are submitted. What I wanna do is, put a value on Action.togglevisibility.
Or identify which toggle was selected and then use Compose to define variable.
Any inputs are ...
0
votes
1
answer
197
views
MSTeams Deep Link not working in iOS in chats only
I'm generating adaptive cards in Microsoft Teams with the following deep link:
https://teams.microsoft.com/l/entity/00000000-0000-0000-0000-000000aaa00b/my-tab-id?context=%7B%22channelId%22:%2219:...
0
votes
1
answer
244
views
Submit Adaptive Cards in MSTeams with Outgoing Webhook
I am following Add Outgoing Webhooks to show an adaptive card with text prompt:
{
"type": "message",
"attachments": [
{
"contentType"...
0
votes
0
answers
73
views
Color of svg image stopped showing in teams message - adaptive card
I have an azure function which sends a Teams message each time a new release has been succesfully deployed. It shows all delivered work items: bugs and stories. Until a few months ago the icons I have ...