microsoft / microsoft/AdaptiveCards
Action.InvokeAddInCommand - installation prompt is not triggerred in the new Outlook Desktop client
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2k
- Forks
- 595
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 1
Description
Target Application
Outlook Desktop (new)
Application Operating System
Windows
Schema Version
1.4
Problem Description
This acticle describes, that the installation prompt pop-up is supposed to be shown to user, if such Add-In is not installed.
(see screenshot below)
This code works as expected with the old Outlook Desktop, but the prompt does not get triggerred in the new Outlook Desktop.
{
"type": "Action.InvokeAddInCommand",
"title": "${replyWithOutlookAddInButton.label}",
"addInId": "${replyWithOutlookAddInButton.addInId}",
"desktopCommandId": "msgReadOpenPaneButton",
"isEnabled": true,
"isPrimary": false,
"tooltip": "${replyWithOutlookAddInButton.tooltip}"
}
Expected Outcome
Expected: Outlook Desktop (new) should trigger installation prompt, if Add-In is not installed
Actual Outcome
Nothing happens, if Add-In is not installed
Card JSON
{
"$schema": "https://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "ColumnSet",
"columns": [
{
"width": "stretch",
"items": [
{
"type": "ActionSet",
"isVisible": "${replyWithOutlookAddInButton.addInVisible}",
"actions": [
{
"type": "Action.OpenUrl",
"title": "${openButton.label}",
"url": "${openButton.url}"
},
{
"type": "Action.InvokeAddInCommand",
"title": "${replyWithOutlookAddInButton.label}",
"addInId": "${replyWithOutlookAddInButton.addInId}",
"desktopCommandId": "msgReadOpenPaneButton",
"isPrimary": false
}
]
}
]
}
]
}
]
}
Repro Steps
- Add-In should not be installed
- Create an Adaptive Card button, using Action.InvokeAddInCommand, using Add-In ID
- Using Outlook Desktop (Windows), click the button
The old Outlook Desktop opens installation prompt, as expected
The new Outlook Desktop does not open installation prompt, if Add-In is not installed
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the provided Card JSON in new Outlook Desktop on Windows with the add-in absent, then compare the same steps in old Outlook Desktop. Read the linked Action.InvokeAddInCommand documentation and use the expected and actual outcomes to determine whether this behavior is handled in this repository; no repository file or test is identified in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- json
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100