Adaptive Cards Support for Microsoft Teams - microsoft-teams

I have integrated a the MSFT chatbot with Teams, i am able to connect and interact, however for response that are based on Adaptive Cards, i get the below error "The specified card version is not supported."
Any idea when the adaptive cards be supported with MSFT teams.
Environment:
Adaptive Cards v 0.5.1.0

Adaptive cards are now supported in Microsoft Teams (on desktop and web).
A couple of things to note:
You're using the old version of the nuget package. Please use this one: https://www.nuget.org/packages/AdaptiveCards/ (v1.0.3 is the currently the latest version)
Check the attachment content you're sending in your request, and make sure it's an adaptive card (instance of AdaptiveCard) w/ version = 1.0. Attachment.Content is of type object, so it's easy to accidentally put other things in there--in my case an AdaptiveCardParseResult, oops! :)

Related

Is Office.context.mailbox.displayNewMessageForm supported on mobile platforms?

I have an Outlook Add-in that makes use of the displayNewMessageForm, it works on Outlook Web and Outlook Full Client, but does nothing on the mobile client (and debugging on the mobile device for Office addins is next to impossible).
I saw this previous question:
Office.context.mailbox.displayNewMessageForm not working in mobile
Where someone said "Outlook Mobile don't support displayNewMessageForm and displayNewAppointmentForm as of now. The support for display* APIs are in pipeline and will be available soon."
That was back in 2018. I looked at the Microsoft Docs, and many methods have a note saying "This method is not supported in Outlook on iOS or Android."
This method does not.
So does anyone know if this is supported in Outlook Mobile clients?
It is not supported yet. APIs introduced in requirement set 1.6 or later are not supported by Outlook Mobile nowadays. Take a look at the Unsupported APIs section of the Add support for add-in commands for Outlook Mobile article.
As soon as the requirement set 1.6 is supported on mobile clients such as iOS and Android you will get the function supported there.
You can find the supported hosts in the Outlook client support table. As you can see the highest requirement set is still 1.5.

Microsoft flow mention whole team (not a single user) in a adaptive card

I am trying to mention whole team (not a single user) in an adaptive card using Power automate
I am able to mention single user by following the steps mentioned in this link use adaptive cards with mention in microsoft teams
But I am not able to mention the whole team in the card
Example
My team name is 'Test Teams', If I am posting a message manually in the teams then I can just use #Test Teams to mention whole team but I am not able to do the same with Microsoft Flow
Can anyone help me on this
#WholeTeam remains on the backlog in Teams UserVoice,
Microsoft will always focus on customer’s feedback and experience, some new features would be added to the services based on customers' feedback in the future, we also recommend you give your new idea in Teams UserVoice here:
https://microsoftteams.uservoice.com/

How to use/update adaptivecards latest version features inside node-modules of react app using bot-framework webchat?

We developed a bot using nodejs(backend) and react webchat(frontend) via directline.In the backend we used adaptive cards with version 1.0 .....now we want to use the latest features of adaptive cards like isRequired parameter here which is not supporting in v1.0 of ac. What my problem is I am using botframework webchat v4.7.0 in which we had so many customizations inside node-modules of botframe-work. If I update this everything will gonna change my entire ui and getting unexpected behaviour and look of my bot.We tried by using v 1.3 but adaptive cards are not even rendering. Can anyone help me in reaching out this plss..it means a lot to me. Thank you.

Normal https://webchat.botframework.com stopped working in IE 10. syntax error webchat-es5.js

I am using sdk v4 bot embedded in sharepoint 2016 page using iframe webchat https://webchat.botframework.com/embed/[Token] url. It stopped working in IE 10. I remember it worked before 3 weeks. Please help as we put the bot in production.
There was a recent update to webchat, so I'm guessing this is a webchat version issue. Do you have the ability to use directline channel with botframework-webchat instead? There are a number of samples. In the getting-started full-bundle sample, you can see where the latest version is specified. You can use this to specify a later version, though I'm not sure if it will let you go far enough back.
You are also going to need to customize the formatting, as the new webchat comes through with essentially no formatting. There are a number of samples on that site showing the different formatting options as well.
For shorter term fix, you may be able to request your specific bot app ID to be reverted by contacting the Microsoft contact from this github issue, though I would recommend also working on updating your implementation as that probably won't be available forever.

adaptivecards nodejs examples for botbuilder

I have a bot built using nodejs v3 sdk and I am trying to adaptivecards to make UI experience richer. Is there a goto place I can start with ? Some example will be good to for starters. [https://adaptivecards.io/][1]
The Samples section on the Adaptive Cards Website is a good place to start to see the art of the possible with cards. If your using JavaScript for your Bot like I did the Microsoft Documentation for adding Rich Card attachments to the Botframework is useful and this Article has some good examples of showing ways to insert data into fields of Adaptive Cards, which we find useful with loading in answers from QnA Maker.
Hope this helps!

Resources