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
657 stars 93 forks source link

Can we open Outlook web add-in task pane using Event Based Actiavation #3445

Closed Rajnish-Asite closed 11 months ago

Rajnish-Asite commented 1 year ago

Your Environment

Expected behavior

Outlook web add-in should be open automatically when we send new email.

Current behavior

We have tried Event base activation to open web add-in when sending new email but outlook web add-in is not opened.

Steps to reproduce

We are using https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/smart-alerts-onmessagesend-walkthrough?tabs=xmlmanifest#smart-alerts-feature-behavior-and-scenarios document to activate Event based activation but it is showing soft Alert instead of opening outlook web add-in as below- image

Please do needful asap.

exextoc commented 1 year ago

@Rajnish-Asite Opening taskpane from event based activation is not supported. Can you share the manifest being used here and code snippet of how you are trying to open the add-in.

Rajnish-Asite commented 1 year ago

@exextoc thanks for your answer But I just want to know that is there any way from which we can open outlook web add-in task pane functionally?

exextoc commented 1 year ago

Currently this is not supported by add-ins framework. 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.

Github Label: “Type: product feature request” https://aka.ms/M365dev-suggestions

Rajnish-Asite commented 1 year ago

@exextoc Thanks for the update. New Feature request has been raised on your Tech Community Page as given below- https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/autoopen-outlook-web-add-in-task-pane-functionally/idi-p/3856447

fomin-grigorich commented 12 months ago

@Rajnish-Asite Hello! Is there any progress on the feature to open add-in programmatically or any new autoOpen features relates to this issue? I'm looking for functionality to autoOpen add-in panel when "OnNewMessageCompose" event is firing. Are you requesting something similar?

Rajnish-Asite commented 11 months ago

Hi @fomin-grigorich I need to open web add-in when Launch Event "OnMessageSend" is fired.

As per previous comment of @exextoc right now there is no any functionality supported from which we can open outlook web add-in programmatically. I am also waiting for this feature.

Please also let me know if you get anything update on this.

Thanks.

himanshuhashtag commented 9 months ago

Is there any update from Microsoft regarding this issue?

Rajnish-Asite commented 9 months ago

@himanshuhashtag No we don't get any update yet.

himanshuhashtag commented 9 months ago

@himanshuhashtag No we don't get any update yet.

Thank you so much for quick response.

fomin-grigorich commented 9 months ago

@Rajnish-Asite @himanshuhashtag As workaround we used PINNABLE ADD-IN functionality. Maybe it can be useful for you as well. https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/pinnable-taskpane?tabs=xmlmanifest

Rajnish-Asite commented 8 months ago

@Rajnish-Asite @himanshuhashtag As workaround we used PINNABLE ADD-IN functionality. Maybe it can be useful for you as well. https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/pinnable-taskpane?tabs=xmlmanifest

@fomin-grigorich Thanks for your suggestion but we don't want to open add-in everytime using Pin functionality. That's why we can not prefer Pin functionality.

FYI @himanshuhashtag

himanshuhashtag commented 8 months ago

@Rajnish-Asite @himanshuhashtag As workaround we used PINNABLE ADD-IN functionality. Maybe it can be useful for you as well. https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/pinnable-taskpane?tabs=xmlmanifest

Actually I want to open task pane automatically on just opening the mail.

Sophie1142 commented 5 months ago

Actually I want to open task pane automatically on just opening the mail.

Upvote on this.