Way To Launch Outlook Web Add-In When Outlook Window Opens

Smit Rathod 100 Reputation points
2023-03-03T08:35:47.9+00:00

I was having an outlook COM add-in. Which I have to migrate into a web add-in.

I have the following doubts regarding web add-ins.

  1. In COM, The add-in was able to be displayed on the ribbon of outlook. How can I display the web add-in on the ribbon of outlook?
  2. In COM, I was able to run my add-in & Display a pop-up when outlook is opened/loaded (i.e.: Before clicking on any mail). How can I achieve this in web add-in development?
Microsoft 365 and Office | Development | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Eugene Astafiev 891 Reputation points
    2023-03-03T09:03:18.45+00:00

    In COM, Add-In was able to be displayed on ribbon of outlook. How can I display web add-in on ribbon of outlook ?

    Yes, you can use ribbon commands in your web add-ins. Outlook add-in commands provide ways to initiate specific add-in actions from the ribbon by adding buttons or drop-down menus.

    An add-in command appears on the ribbon as a button or an item in a drop-down menu. When a user installs an add-in, its commands appear in the UI as a group of buttons. This can either be on the ribbon's default tab or on a custom tab. For messages, the default is either the Home or Message tab. For the calendar, the default is the Meeting, Meeting Occurrence, Meeting Series, or Appointment tab. For module extensions, the default is a custom tab. On the default tab, each add-in can have one ribbon group with up to 6 commands. On custom tabs, the add-in can have up to 10 groups, each with 6 commands. Add-ins are limited to only one custom tab.

    See Add-in commands for Outlook for more information.

    In COM, I was able to run my add-in & Display pop-up when outlook is opened/loaded (i.e.: Before clicking on any mail). How can I achieve this in web add-in development?

    That is not possible with web add-ins. Outlook web add-ins are run under the context of currently opened/selected item only.

    You can post or vote for an existing feature request on Tech Community where they are considered when the Office dev team goes through the planning process.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.