Forum Discussion
XDeveloper29
May 09, 2024Copper Contributor
Issue with button action on unfurling link adaptive card
I have developed a Message Extension Teams app that have feature for link unfurling. Upon pasting the link, the card shows up in the chat, containing a button. Generally, I want to popup a dialog that opens upon clicking the button and accepts text from users.
But, on clicking the button, I'm getting the error Return to the main window to perform this action. How can I fix this issue?
Adaptive Card for unfurling card -
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.6",
"body": [
{
"type": "TextBlock",
"text": text,
"wrap": true
}
],
"actions": [
{
"type": 'Action.Submit',
"title": 'Login',
"data": { "msteams": { "type": 'task/fetch' }, "data": 'onLogin' }
},
]
}
- Prasad_Das-MSFTMicrosoft
XDeveloper29 - This issue is being tracked here. Please follow that thread for any update.