Open
Description
We implemented bot based message extensions for Teams and Outlook. It was working as documented here
Now our customers start to report that the openUrl card action is missing on the insert cards. We are able to confirm this, please resolve this breaking change or provide a work around how to achieve openUrl card action.
Please note, on the recent screenshot, the card is missing the "Show profile" button that is an Action.OpenUrl card action. According to the provided documentation, Action.OpenUrl is the only action that is supported.
adaptiveCard
CardFactory.adaptiveCard({
type: 'AdaptiveCard',
body: [
{
type: 'TextBlock',
text: queryText,
wrap: true,
isSubtle: false,
isVisible: !!query // show only if query was provided
},
{
type: 'ColumnSet',
separator: true,
columns: [
{
type: 'Column',
width: 'auto',
verticalContentAlignment: 'Top',
items: [
{
type: 'Image',
style: 'Person',
url: avatar.toString(),
size: 'Medium'
}
]
},
{
type: 'Column',
width: 'stretch',
verticalContentAlignment: 'Center',
items: [
{
type: 'TextBlock',
size: 'Large',
weight: 'Bolder',
text: `${user.firstname} ${user.lastname}`,
wrap: true
},
{
type: 'TextBlock',
text: expertMetadata,
wrap: true
},
{
type: 'TextBlock',
text: userExpertise,
wrap: true,
isVisible: conceptLabels.length > 0 // show only if concept labels available
}
]
}
]
}
],
actions: [
{
title: i18next.t('card.expert.button.open.title', { lng: lang }),
type: 'Action.OpenUrl',
url: this.linkFactory.userUrl(user, app, UtmCampaign.ShowProfile)
}
],
version: '1.5'
})
Metadata
Metadata
Assignees
Labels
No labels