Questions tagged [adaptive-cards]
Questions regarding the implementation and use of Adaptive Cards for the Microsoft Bot Builder
931
questions
-1
votes
0
answers
14
views
POST Method | Adaptive Cards Microsoft | Java Springboot Implementation
How to do POST method action using adaptive cards.
{
"type": "Action.Http",
"title": "Click me",
"method": "POST",
"url": "...
0
votes
0
answers
15
views
Showing modal popup in ms teams chatbot using adaptive card(button click event)
I am working on a ms teams chatbot using microsoft bot framework(node js). I rendered an adaptive card and I want that on clicking on the button a modal popup should apear showing another adaptive ...
0
votes
0
answers
15
views
Using foreach loop inside adaptive cards
I have an adaptive card code base, I want to feed in data from an API end point which I have to loop through and setup inside a table or whatever best possible way if that can be done.
I have an ...
0
votes
0
answers
31
views
AdaptiveChoiceSetInput is not working as expected when selected by default
I have created a Bot in MSTeams and I am using Adaptive controls. In one of the cards, I am displaying checkboxes that are by default selected. If I uncheck one of the checkboxes from the list and ...
0
votes
1
answer
23
views
How to update Teamscard with PowerAutomate
I need help, this is a dynamic Teams Card. It can contain several test cases:
{
"type": "AdaptiveCard",
"body": [
{
"size": "medium",
...
0
votes
1
answer
33
views
How to upgrade the Bot Framework WebChat (1.3) to 1.5 and is this available?
I am trying add a table in my Bot Framework webchat adaptive Card, but it displays this error [Warning] The selected Target Version (1.6) is greater than the version supported by Bot Framework WebChat ...
0
votes
0
answers
17
views
Hide adaptive card when search result is empty
I created an adaptive card and I would like to only show it when there is data to show.
So in my card I do
sp.web.lists.getByTitle(listName).items
.filter("(Status ne 'Completed')")
.orderBy(...
0
votes
1
answer
38
views
Ms Teams Bot unable to load using task module on iframe
I'm currently creating ms teams bot, i want to use task module to load my app login page, so i just tried to mimic the sample which load youtube page for now.
i tried to use the sample. It is using ...
0
votes
0
answers
32
views
Post an adaptive card as "User", from a Microsoft Form
I've build a tool to improve the communication across my organization.
All the employees can fill-in a specific Microsoft Form, that will trigger automatically the publication of an adaptive card to a ...
0
votes
1
answer
79
views
Error - [lint] Unexpected STDERR output from ESLint:
I created a Adaptive card extesion but when I want to package my solutions I keep receiving errors.
Error - [lint] Unexpected STDERR output from ESLint:
Oops! Something went wrong! :(
ESLint: 8.7.0
...
-1
votes
0
answers
17
views
How do I code a Factset's value to be of a specific color?
The below is my code for FactSet:
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0"...
0
votes
1
answer
29
views
refresh for user specific views in adaptive card are not triggering Invoke
Currently trying to implement a User Specific View for adaptive Cards.
The documentation shows how to auto refresh an adaptive Card and also how to deal with the invoke. I implemented my ...
0
votes
0
answers
27
views
Adaptivecard keep text after submit
Is there a way to keep the text of an adpativecard in Teams after submitting an Input.ChoiceSet?
I'm posting automated to a teams channel and other team members should be able to see the submitted ...
2
votes
1
answer
86
views
Can't Dynamically Display PowerVA Data In Adaptive Card
I'm working on a Power Virtual Agent that will take some data from our ticketing system via Power Automate and display it to the user in a nice adaptive card. However, I'm having issues getting the ...
0
votes
0
answers
46
views
MS Teams Beta with Adaptive Card showing 'sent a card' in the summary
Looking for some help in regards to adaptive cards with the new MS Teams beta (Version: 23202.1509.2295.2283.).
The issue I am having is when our adaptive card gets sent the summary is not coming ...
0
votes
1
answer
26
views
Is there any we can connect with task module from html parsed adaptive card?
I'm using an HTML-rendered version of the adaptive card using these 2 packages in MS Teams.
https://www.npmjs.com/package/adaptivecards (version 2.11.1)
https://www.npmjs.com/package/adaptivecards-...
0
votes
2
answers
75
views
Adaptive card json for microsoft form choice reponse
I am using power automate to post a card to Microsoft Teams whenever a Microsoft Forms response is submitted.
The Microsoft form includes a choice field ("Operating System") that has 3 ...
0
votes
0
answers
14
views
Adaptive cards web chat: Validate one input field number is greater that the other input field number
I am trying to add validation to make sure one input field number is greater that the other input field number. I want to do this with in json but I haven't found any documentation around that. thank ...
-1
votes
1
answer
111
views
Is it possible to display dynamic data in Input.ChoiceSet in Adaptive Card
Is there a way to render Input.ChoiceSet in Adaptive Card with dynamic values?
We want make an api call to get the values to be shown as choices in the choice-set
0
votes
0
answers
23
views
Is there a handler function detect that Action.ShowCard button is clicked in Adaptive Cards
We have an adaptive card which has a Action of the type Action.ShowCard. On click of this button we show some fields and one action of the type Action.Execute.
We want to perform api call when the ...
0
votes
0
answers
17
views
Format a datastructure for sending an adaptive card with at mention
I've been fiddling with formatting a (json) data structure to send an adaptive card to a teams channel using Axios. So far I did managed to send an adaptive card. But I thought it would be nice to &...
0
votes
0
answers
15
views
On Teams, Images not being displayed under accordion in adaptive card
I have Power Virtual Agent bot running on Teams. Images are not being displayed(rather displayed as hyperlinks) under accordion in adaptive card. Same content displays images if it is rendered through ...
0
votes
1
answer
124
views
Issue with Stopping Power Automate Flow with Combined "Post Adaptive Card and Wait for a Response" Action
I am facing a challenge with Microsoft Power Automate with the usage of the "Post Adaptive Card and Wait for a Response" action within Microsoft Teams.
We have implemented Power Automate to ...
0
votes
0
answers
18
views
how to Open a Teams TaskModule from an adaptive card using manifest.json
I am trying to open a taskmodule from an adaptive card. I have placed a button named task module and I am trying to open a task module when the button is clicked i want to know what i am doing wrong.[...
0
votes
0
answers
47
views
Microsoft Teams Adaptive Card not rendering on iOS
New to adaptive cards - this renders fine on desktop when sent via a webhook but just shows up blank on iOS. Am I missing something obvious? Thank you
{
"type": "message",
&...
0
votes
1
answer
30
views
How do I use both Data and DataJson property of AdaptiveSubmitAction in Webchat channel
I am using Adaptive Card SDK in Microsoft Bot Framework for Webchat. Code for my adaptive card submit button looks like :
var action_nothanks = new AdaptiveSubmitAction
{
Title = "No, Thanks"...
0
votes
1
answer
68
views
Teams adaptive cards, disabling or hiding fields after submit
Saying I have the following very simple adaptive card template:
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json"...
0
votes
0
answers
53
views
How to change the text of Adaptive Card response confirmation for MS Teams bot app
Adaptive cards for bots in MS Teams now appear to be displaying a confirmation of "your response was sent to the app" message when a button on the card is clicked.
I want to display ...
0
votes
1
answer
41
views
Adaptive Card SDK is not getting properties color and weight
I'm using Adaptive Cards SDK (adaptativecards@2.11.1) in my node application.
So I have this textBlock:
let card = new AdaptiveCards.AdaptiveCard();
card.version = new AdaptiveCards.Version(1, 0);
...
0
votes
1
answer
43
views
Passing parameter to adaptative cards - MS Teams
How can I send a text as parameter to an adaptative card?
I'd like make the text (Title - parameter) dynamic, how can I send this value as a parameter?
That's the adaptative card content:
{
"...
0
votes
0
answers
79
views
Occasional 'Conversation not found' error when sending proactive messages with a Teams bot
I am developing a custom Teams app consisting of a tab app and a bot app. The bot app is designed to send Adaptive Cards triggered by an external HTTP POST request. The accountId in the POST request ...
0
votes
2
answers
51
views
TaskModuleResponseFactory.CreateResponse("") is not closing the TaskModule popup window
In Microsoft Teams Bot, I am trying to close a Task Module popup window after a action.submit button click by sending an empty response by using
protected override async Task<TaskModuleResponse> ...
0
votes
0
answers
76
views
Teams App - Embedded Web View Task Module launched from Adaptive Card - Bot Framework SDK for Java
I have a simple Adaptive Card returning into the Teams chat from a TeamsActivityHandler.onMessageActivity override:
@Override
protected CompletableFuture<Void> onMessageActivity(TurnContext ...
0
votes
0
answers
16
views
Cannot see the updated AdditionalProperties content in Adaptive Card in the chat
Below is the code I'm trying:
var paths = new[] { ".", "Resources", "ListCard.json" };
var listCardJson = File.ReadAllText(Path.Combine(paths));
AdaptiveCard card = ...
0
votes
0
answers
73
views
NodeJS botbuilder Adaptive Card User Input Not Included in `onAdaptiveCardInvoke` Event when Sent to a Channel in MS Teams
I'm using Node.js with Typescript and the "botbuilder": "^4.20.0" package to create a MS Teams bot that sends interactive Adaptive Cards to users or a channel, and collect some ...
0
votes
0
answers
117
views
How to update an Adaptive Card in Teams after an event happened on another platform?
I am trying to make a bot that sends a notification in Teams to a manager when someone ask for an approval from my online software. The manager receives an adaptive card with the possibility to ...
1
vote
0
answers
245
views
Adaptive card in MS Teams doesn't return input field data using Action.Execute
I'm trying to create a bot in Microsoft Teams. I'm trying to get some user input, but I can't get the data that is entered in the Adaptive Card to be returned.
I've tried the following template for ...
0
votes
0
answers
50
views
Unable to show buttons in Hero Card and Tap Action not working for Hero Card in Microsoft BOT
We are working on Teams BOT application, where we have implemented logic to unfurl link to an adaptive card.
Below is the sample code for adaptive card generation:
composeExtension: {
type:...
0
votes
1
answer
342
views
add dynamic data into AdaptiveCard then show it in Teams
I am trying to add dynamic data into AdaptiveCard by Groovy, then deploy it into Microsoft Teams.
It is working in Adaptive Card designer.
enter image description here
{
"type": "...
0
votes
0
answers
70
views
PowerAutomate Adaptive card needs to function as poll, how to accomplish this?
I'd like some help for this powerAutomate adaptive card I've made. I got the backbone for the card from Microsoft docs. However, when I post it in a teams channel, I can only select an option and ...
0
votes
0
answers
49
views
How to limit choices in Input.ChoiceSet of Adaptive Cards?
How can we apply limit on Input.ChoiceSet for choosing the option in adaptive cards?
I want to apply limit for choosing the options in input.choiceset in adaptive crads. i want to make that People can ...
0
votes
0
answers
38
views
[Power Automate - Http Response Task]Outlook Adaptive Card "CARD-UPDATE-IN-BODY" doesn't update if task is configured to Asynchronous
I have a power automate flow which updates the outlook adaptive card based on the approval.
After "Submit" it should be:
However, this stopped working after I updated the configuration of ...
0
votes
0
answers
16
views
Is it possible to update a text with an input's value in MS adaptive cards?
I have an adaptive card with several inputs, and would like to show the user a synthesis of all the values that have been filled into the inputs before submitting.
Either a la:
Real-time update of a ...
0
votes
0
answers
69
views
Power Automate AdaptiveCard Feed and mobile notifications only say Card
I have a Power Automate workflow that posts messages to a Teams channel. It posts to the channel correctly, but the Feed and the mobile notifications only say Card. I've tried adding the "summary&...
0
votes
0
answers
12
views
Is Actionable Messages / Adaptive Cards supported in Exchange 2016 Hybrid environment?
Is Actionable Messages / Adaptive Cards supported in Exchange 2016 Hybrid environment?
I registered the connector provider in the Outlook Online Dev Playground. Ensured all of my adaptive cards had ...
0
votes
1
answer
156
views
Toggle Visibility of Container in adaptive card based on input choice set value
I have tried using multiple ways to toggle the visibility of date_selection_container but nothing works. I want to toggle the visibility if the Date Wise Leave is selected and user should see two ...
0
votes
0
answers
27
views
How to nest image inside chioce sets or action buttons using adaptive cards for Outlook actionable messages
I am working on a requirement to implement the Outlook Actionable Message through adoptive Cards. I am now building the JSON here : https://amdesigner.azurewebsites.net/.
I actually want to display ...
0
votes
1
answer
416
views
Adaptive Card/Actionable Message not showing as planned
I built a workflow with Power Automate and Microsoft Lists, delivering emails to users to update records in the Lists.
I got the majority of my workflow worked out, and I'm working through minor bugs ...
0
votes
1
answer
299
views
Adaptive Cards on MS Teams
I have created a bot with Botpress and connected it to MS Teams via Azure. I would now like to send an adaptive card in Teams. I found out that you can send an adaptive card in teams like this: https:/...
0
votes
0
answers
49
views
Microsoft Adaptive Card "lang" attribute not working
I am currently developing a chatbot, using Bot Framework and Adaptive Cards.
One of the dialogs is regarding weather information, and for so, I am presenting to the user the following adaptive card:
...