[Designer] Does the templating system support simple string arrays? e.g. ["Red","Blue","Yellow"]
See original GitHub issueMy JSON data model looks like:
{
"image" : "hazelnut.jpg",
"clade" : [
"Tracheophytes",
"Angiosperms",
"Eudicots",
"Rosids"
],
"name" : "American Hazelnut",
"order" : "Fagales",
"family" : "Betulaceae",
"genus" : "Corylus",
"species" : "Corylus Americana"
}
How do I map the array value of clade
to the text
property on an adaptive card’s items
array?
This is what I’m trying to do: https://docs.microsoft.com/en-us/adaptive-cards/templating/language#repeating-items-in-an-array
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Template literals (Template strings) - MDN Web Docs - Mozilla
Template literals are literals delimited with backtick (`) characters, allowing for multi-line strings, string interpolation with embedded ...
Read more >Simple JavaScript template literals to insert iterated values ...
I want to use a template literal, i.e. backticks, to insert elements from an array into my HTML. Essentially, I want to create...
Read more >Introduction to Templating | Craft CMS Documentation | 4.x
Twig templates are HTML files that are sprinkled with bits of Twig code. When Twig loads a template, the first thing it will...
Read more >How to create an array of templated class objects?
No. All elements of an array are of the same type. · Elements of an array have to have the same type. ·...
Read more >Template functions - arrays - Azure Resource Manager
This article describes the template functions for working with arrays. To get an array of string values delimited by a value, see split....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s perfect, thanks!
@ClairelyClaire tried to add some clarification, does this help? https://github.com/MicrosoftDocs/AdaptiveCards/commit/cec9a10a02e26e0ea8c49b976082a765238f4d60