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
641 stars 92 forks source link

Windows Outlook classic UI support OnAppointmentSend and OnNewAppointmentOrganizer should be like ItemSend(Fully functional embedded browser) #4400

Closed hello-chenchen closed 1 week ago

hello-chenchen commented 3 weeks ago
Currently, OnAppointmentSend and OnNewAppointmentOrganizer have so much limitation: https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/autolaunch#event-based-activation-behavior-and-limitations

https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/onmessagesend-onappointmentsend-events?tabs=windows#supported-clients-and-platforms


Hope WIndows Outlook classic UI can support fully functional embedded browser.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

Platform Limitation | Exchange On Premise Server | Fully functional embedded browser | cookie(login status can’t use with cookie) | localStorage(login token also can’t be used in localStorage) | MS SSO authentication(login status with SSO) -- | -- | -- | -- | -- | -- Windows Outlook(classic UI event-base action: OnAppointmentSend) | ✓  Yes | ✖  No, a custom sandbox process that contains a react native control with a JavaScript engine | ✖  Not support | ✖ Not support and OfficeRuntime.localStorage And Office.context.roamingSettings Can’t save login token as your official document suggestion. | ✓  Yes workaround solution for not support cookie and localStorage for login status and token not work. use MS SSO auth to login. But there are some reasons why we don’t want use this solution. 1.✖the auth process is too slow to login, if every time need auth, it’s too slow and heavy. 2.✖ only support exchange online office365 license account. 3.✖ Not all account can enable SSO auth feature. it’s not work for full case. Windows Outlook(classic UI on-send feature: ItemSend) | ✓  Yes | ✓  Yes | ✓  Yes | ✓  Yes | ✓  Yes Windows Outlook(new UI) Version 2206 (Build 15330.20196) or later | ✖ N/A | ✓  Yes | ✓  Yes | ✓  Yes | ✓  Yes Mac Outlook(classic UI) Version 16.65.827.0 or later | ✓  Yes | ✖ N/A | ✖ N/A | ✖ N/A | ✖ N/A Mac Outlook(new UI) Version 16.65.827.0 or later | ✖ N/A | ✓ Yes | ✓  Yes | ✓  Yes | ✓  Yes Web browser (modern UI) | ✖ N/A | ✓ Yes | ✓  Yes | ✓  Yes | ✓  Yes iOS | ✖ N/A | ✖ N/A | ✖ N/A | ✖ N/A | ✖ N/A Android | ✖ N/A | ✖ N/A | ✖ N/A | ✖ N/A | ✖ N/A
davidchesnut commented 3 weeks ago

Hi @hello-chenchen, thanks for letting us know about this request. @exextoc can you please take a look at this issue? Thanks!

ztcdsb commented 1 week ago

Currently the feature you requested, is not a part of the product. We track Outlook add-in feature requests on our Tech Community Page. Please submit your request there and choose the appropriate label(s). Feature requests on Tech Community are considered, when we go through our planning process.