This is a migrated thread and some comments may be shown as answers.

Whether Angular Kendo supports Adaptive cards rendering in microsoft bot framework?

1 Answer 157 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sanjeevi
Top achievements
Rank 1
Sanjeevi asked on 05 Aug 2020, 05:35 AM

Whether Angular Kendo supports Adaptive cards rendering in microsoft bot framework? 

 

Please share any sample code to show the adaptive cards rendering in Angular Kendo UI

1 Answer, 1 is accepted

Sort by
0
Svet
Telerik team
answered on 06 Aug 2020, 08:24 AM

Hi Sanjeevi,

In general, the Adaptive Card is a third party tool/library that has its own documentation and support:

https://docs.microsoft.com/en-us/adaptive-cards/

Thus if I have to answer your question directly, then the answer would be that that Kendo UI for Angular doesn't support adaptive cards. However, the developer is able to add any custom HTML and/or CSS within an Angular ng-template. Indeed, we try to provide such templates in all Kendo UI for Angular components in order to allow the developers to customize certain parts of the Kendo components. I assume that you need to use the adaptive card library with the Kendo UI for Angular Conversational component. If that is the case then please check how to define a custom message template for it at the following article:

https://www.telerik.com/kendo-angular-ui/components/conversationalui/message-templates/

That feature allows to add an adaptive card, or any other content, to it. For example please check the following demo demonstrating how to nest an adaptive card within the message template of the Covnersational UI:

https://stackblitz.com/edit/angular-dkprsq-dgb4jh?file=app%2Fapp.component.ts

I hope this helps.

Regards,
Svetlin
Progress Telerik

Tags
General Discussions
Asked by
Sanjeevi
Top achievements
Rank 1
Answers by
Svet
Telerik team
Share this question
or