Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to autorun Office 365 outlook add-in

I'm creating an Office 365 add-in for Outlook. I want my add-in to run automatically when user reads email (opens it in reading pane).

My current version displays add-in name in top of mail body and when I click it add-in runs.

Office.initialize = function (reason) { 
    $(document).ready(function () {
        displayItemDetails();
    });
}; 

I would also like to hide that add-in button and just run it behind the scene.

like image 688
Panu Oksala Avatar asked Oct 02 '15 11:10

Panu Oksala


1 Answers

The Office Add-In platform does not currently allow apps to auto-launch themselves in the way you're describing. Feel free to request this functionality on the Office Extensibility Platform's UserVoice.

Gabriel Royer

Developer on the Office Extensibility Team, MSFT

like image 176
Gab Royer Avatar answered Sep 22 '22 23:09

Gab Royer