How to enable On-Send Feature for New Outlook Web App - outlook

Does the New OWA support on send?
I have an addin that uses the on-send feature, it works fine in the old OWA but not the new OWA, do i have to do some extra configurations in order to get on-send to work in new OWA?

onSend feature is currently not available on new OWA. We are currently working on it and should be available in the near future (no tentative date available).

Related

Outlook add-in event based activations not working on web browser

I'm working on an outlook add-in I can't get event-based activations to work on the web client (but do actually work on the Mac Outlook app). I've been trying to run the examples hosted on github, both outlook-set-signature and outlook-encrypt-attachments provided by the Microsoft team.
And add-in is correctly loaded. I can manage to open the sidepanel and follow the instructions, but nothing changes. Trying the same thing using the Outlook client on Mac OS works as expected.
Here are my reproduction steps:
Visit https://outlook.live.com/calendar/
New event > Get Add-ins > My Add-ins > "Add Custom Addins" > From URL > Paste "https://officedev.github.io/Office-Add-in-samples/Samples/outlook-encrypt-attachments/manifest.xml"
Go back to the calendar app > Click on the three dots button > click "Event Activation Example" addin > The sidepanel shows as expected
Discard the event and create a new one
Add a new participant to the event and expect a notification / or add any lightweight attachment and expect an automatically generated encrypted version of the attachment
Nothing happens 🤷 . According to the docs, a notification message should be shown
This "unresponsiveness" also happens with my own add-in and also in another example provided by the outlook team https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/outlook-set-signature.
BUT, these add-ins do actually work when I use them on my Mac OS Outlook app (OS Version: Ventura). So I'm wondering if there's any limitation for event-based activations for non-365 users using outlook on a web browser.
I'm wondering if there's any limitation for event-based activations for non-365 users using outlook on a web browser
Classic Outlook UI when connected to Exchange on-premises doesn't support the requirement set 1.10 where the event-based activation was introduced.
Modern Outlook UI when connected to Exchange Online: Microsoft 365 subscription, Outlook.com supports the Outlook add-in API requirement set 1.10.
You can find the Outlook client support for specific requirement sets in MSDN.
Also you may find the Debug your event-based Outlook add-in page helpful.
Event based add-ins are currently supported for commercial accounts as they are only available as part of admin deployment. Supporting event-based activation for user acquired add-ins is on the road map and we will consider this as part of that requirement. We don't have an ETA for this yet.

In outlook web addin, the Event "onAppointmentAttendeesChangedHandler" works on outlook web. But it fails to trigger on outlook desktop

I'm new to web-addin and trying to build an addin for outlook meeting. I need to capture the event when ever there is a change in attendees (participants).
I have subscribed to onAppointmentAttendeesChangedHandler, which works perfectly on outlook web.
But when I try the same on outlook desktop client (windows, office build is 2108), the event is not triggered. Please suggest
below is the JS code.
// subscribing to the Attendee change event.
Office.actions.associate("onAppointmentAttendeesChangedHandler", onAppointmentAttendeesChangedHandler);
//Function to be called when the event is triggered.
function onAppointmentAttendeesChangedHandler(event) {
GetReciepientsCount(_event);
// console.log("Before setting Obj");
}
where as, the below subscription works on both outlook web and windows desktop client.
Office.actions.associate("onAppointmentComposeHandler", onAppointmentComposeHandler);
For the Windows based Outlook application the minimum required build is 16.0.14511.10000. If required, join the Office Insider program and choose the Beta Channel for access to Office beta builds.
You can read more about the requirements for event-based activation in the Configure your Outlook add-in for event-based activation article.

Outlook web add-ins grayed out in delegate calendar in Outlook Desktop app

Outlook web add-ins are showing grayed out in a delegate calendar in Outlook Desktop app on appointments/meetings windows. By delegate calendar I mean a calendar shared with me by another person in the company, with full permissions on share - so I can create/edit meetings/appointments from his calendar from my personal profile. Please see pictures below.
The web add-ins are not grayed out in Outlook Web App. There they work just fine, so it looks to me like a Outlook Desktop App-only issue.
This came as a complaint from one of our customers.
Delegate Access support for Mail/ Calendar across Outlook end points (except Mobile) is currently in preview. You can check out the documentation here:
https://learn.microsoft.com/en-us/office/dev/add-ins/reference/objectmodel/preview-requirement-set/outlook-requirement-set-preview#delegate-access
and give it try with the latest Outlook build.
Making the feature generally available is in progress and we hope to release soon but we cannot share a specific timeline at this stage.

Outlook JS Add-In - handling object save

I'm developing an Outlook Add-In using the new JavaScript API.
All is nice and works, but now I have a use case, that I want to save some custom data from my add-in side-pane when the user clicks "Save/Send" on an Calendar Event. I don't see any way to achieve that in the documentation, is it possible at all?
This is not possible with Office.js API. You may vote up this feature for upcoming release at Office Developers User Voice. Still nobody knows if it will be implemented any time soon. For now review the logic of your app to make it independent from Outlook events.

New Outlook API (2015) mail add-in send event

Does the new Microsoft Outlook API, which enables development of Outlook addins for cross platform, have the ability to trigger an event off the user clicking the send button?
I currently have an Outlook VSTO addin that uses the Application.ItemSend event to check an email for specific content and present the user with a popup asking them if they still want to send or not. This is only compatible with Outlook 2007-16 on Windows though, and I was hoping the new API might enable me to build something similar for Outlook on Mac/mobile/web, but I haven't found any examples or documentation on this particular event trigger yet.
Link to Outlook API
Some support for handling a "send" event was recently added for Outlook Add-ins.
There are several limitations, so be sure to read all the documentation. In particular, this is currently only supported in the Web version of Outlook, and the send event feature cannot be used in any add-ins that will be published in the Office Store.
No, there is no such event. It will most likely be added in the future from what I hear...

Resources