Mac OS中未显示Outlook加载项 [英] Outlook add-in not displayed in Mac OS

查看:561
本文介绍了Mac OS中未显示Outlook加载项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们发现,该加载项无法在最新的Mac OS(High Sierra 10.13.1)上运行.我们的Outlook版本是15.40.加载项无法正确加载.加载项使用AngularJS.看起来AngularJS的ngview无法正确运行.我们不知道如何针对此类错误进行进一步的分析.您是否知道Outlook是否可以查看错误,例如浏览器的开发模式可以查看控制台信息?

We found that our Add-in cannot work on the latest Mac OS (High Sierra 10.13.1). Our outlook version is 15.40. The Add-in cannot be loaded correctly. The Add-in uses AngularJS. It looks the ngview of the AngularJS cannot be run correctly. We don't know how to do further analysis with such error. Do you know if the outlook has a place to see the error like the browser's development mode to see the console information?

我们使用下面的脚本引导角度,我可能会认为引发了一些错误,阻止了这些脚本的执行.

We use script below to bootstrap angular, I might think some error raised that block those scripting from executing.

    requirejs(['office'], function () {
        Office.initialize = function () {
            angular.bootstrap(document.body, ['tor']);
        };
    });

顺便说一句,该插件可以在Safari的Outlook Online(OWA)上正常运行.该加载项可以在以前的Mac OS(Sierra)上的Outlook上正常运行.

BTW, the add-in can work well on the Outlook online (OWA) on the Safari. The add-in can work well on the Outlook on the previous Mac OS (Sierra).

在调试过程中查找更多线索: 我添加了一条如下所示的其他路线:

Find more clues during debug: I added a otherwise route like below:

   $routeProvider
        .when('/login/:tenantId/:addinType', {
            templateUrl: 'login/login.html',
            controller: 'loginCtrl',
            caseInsensitiveMatch: true,
            controllerAs: 'vm'
        }).when('/main/:tenantId/:addinType', {
            templateUrl: 'main/main.html',
            controller: 'mainCtrl',
            caseInsensitiveMatch: true,
            controllerAs: 'vm'
        })
        .when('/test', {
            templateUrl: 'test.html',
        })
        .otherwise({
            templateUrl: 'book.html'
        });

事实证明,它总是去否则显示并显示book.html,我的清单文件中配置的url是

It turns out it always goes to otherwise route and show book.html, the url configured in my manifest file is

https://localhost:4004/#!/test

推荐答案

以下命令启用对Webkit的调试,该Webkit用于在Outlook上托管Webbed-ins

Following command enables debugging for webkit which is used on outlook to host webbed-ins

默认写NSNSDomain WebKitDeveloperExtras -bool true

defaults write NSGlobalDomain WebKitDeveloperExtras -bool true

成功运行命令并重新启动Outlook检查元素选项后,右键单击任务窗格中的上下文菜单中应该可用

After successfully running the command and restarting outlook inspect element option should be available in context menu upon right clciking in task-pane

这篇关于Mac OS中未显示Outlook加载项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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