如何自动运行Office 365 Outlook加载项 [英] How to autorun Office 365 outlook add-in

查看:469
本文介绍了如何自动运行Office 365 Outlook加载项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为Outlook创建Office 365加载项.我希望我的加载项在用户阅读电子邮件时自动运行(在阅读窗格中打开它).

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.

推荐答案

Office加载项平台当前不允许应用按照您所描述的方式自动启动.可以在 Office可扩展性平台的UserVoice .

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

Gabriel Royer

MSFT Office可扩展性团队的开发人员

Developer on the Office Extensibility Team, MSFT

这篇关于如何自动运行Office 365 Outlook加载项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆