OfficeDev / office-js

A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
https://learn.microsoft.com/javascript/api/overview
Other
673 stars 95 forks source link

Smart Alerts OnSend - Classic Outlook for Windows Taskpane not refreshed if already opened #4810

Open alexm-plutoflume opened 1 month ago

alexm-plutoflume commented 1 month ago

Smart Alerts OnSend allows you to open a task pane when a user clicks "Don't Send".

In all platforms except popped out emails in classic outlook for windows, if you click "Don't Send" when the taskpane is already open, the task pane is refreshed.

This is an important feature as we may need to display updated data in the taskpane based on the OnSend event and send data between the event and the taskpane. This works appropriately in all other platforms, including inline replies in Classic Outlook for Windows. The task pane will be refreshed if it is already open and the user clicks "Don't Send".

Your Environment

Classic Outlook for Windows Current Channel version 2407 (17830.20166)

Expected behavior

If the taskpane that is opened when a user selects "Don't Send" for a Smart Alert OnSend Add-in is already open, the taskpane should refresh when the user clicks "Don't Send".

Current behavior

This works appropriately in all platforms except for popped out emails in Classic Outlook for Windows.

Steps to reproduce

Have a Smart Alerts OnSend Add-in that blocks an email. Notice that inline replies in Classic Outlook for Windows, if the taskpane is already open and the user clicks "Don't Send", the taskpane will refresh. This does not happen for popped out emails.

Context

We need to refresh the data in the task pane when a user clicks the "Don't Send" button and the taskpane is already open.

Thank you for taking the time to report an issue. Our triage team will respond to you in less than 72 hours. Normally, response time is <10 hours Monday through Friday. We do not triage on weekends.

alexm-plutoflume commented 1 month ago

@exextoc any updates here? Thanks!