ContosoScubaBot
ContosoScubaBot copied to clipboard
Dynamically binding data to a card
How would you go about dynamically binding data to an adaptive card?
For example, in Schools.JSON you can assume this query would actually go look up schools on Google then dynamically build the card. Is there a way to do this without hacking together the card through code? Any data binding options?
The https://www.nuget.org/packages/Razorback/ library provides this type of binding using Razor syntax. ProxyMessageView.cshtml and WildlifeView.cshtml in this project are using Razorback: https://github.com/matthidinger/ContosoScubaBot/tree/master/CardViews
Do you know of something similar to Razorback for node projects?
Sure do! 🙂
https://github.com/justinwilaby/babel-plugin-jsx-adaptive-cards
Thank you! I really appreciate the guidance!