You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Render markup (html),
a. Data coming from Toronto are in HTML format with the mix of text, url links (and probably images)
b. The adaptive card treats text and url as separate control.
Support url link callback and other user action callback (for telemetry)
Support hide/show some parts of the content for See More/Less.
, etc"
},
{
"type": "HtmlBlock-second", /* this is the block for See more/less, it may be defined in Action.ShowHide as a separate card. /
"html": "html with
,
, , ,
, , etc"
},
],
"actions": [
{
"type": "Action.ShowHide",
"title-show": "See More", / Click to show the "HtmlBlock-second" defined above
"title-hide": "See Less",
}
]
}
The text was updated successfully, but these errors were encountered:
The card should be able to
a. Data coming from Toronto are in HTML format with the mix of text, url links (and probably images)
b. The adaptive card treats text and url as separate control.
The schema for AdaptiveCard would something like
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "HtmlBlock",
"html": "html with
, , ,
, etc",
},
{
"type": "HtmlBlock-second", /* this is the block for See more/less, it may be defined in Action.ShowHide as a separate card. /
"html": "html with
, , ,
, , etc"
},
],
"actions": [
{
"type": "Action.ShowHide",
"title-show": "See More", / Click to show the "HtmlBlock-second" defined above
"title-hide": "See Less",
}
]
}
The text was updated successfully, but these errors were encountered: