我已使用 XML 文件在 Outlook 2016 中安装了一个加载项。单击插件侧边栏后,它会打开。
现在我想调试问题(通过获取控制台日志和网络日志),解释为什么加载后没有进入下一个屏幕。 如果它正常工作,它将从外部端点加载配置并继续到下一个屏幕。
请记住,我无权访问源代码。
此插件在 Outlook 的 Web 版和其他桌面版本上运行良好,但在 Outlook 2016 上运行不佳。
I have installed an add-in in my outlook 2016 using an XML file. After clicking on a plugin sidebar, its opens.
Now I want to debug the issue (by getting console logs and network logs) that why it is not proceeding to the next screen after loading. If it was working, it will load the configuration from an external endpoint and proceed to the next screen.
keeping in mind that I don't have the access to source code.
This plugin is working fine for the web and other desktop versions of outlook but not on outlook 2016.
发布评论
评论(1)
第一步是确定用于在 Outlook 2016 中执行加载项的基础浏览器。以下文档可帮助您确定:
https://learn.microsoft.com/en-us/office/dev/add-ins/concepts/browsers-used-by-office-web-add-ins
如果是 Internet Explorer,请运行
C:\windows\system32\f12\IEChooser.exe
,然后只需单击与您的加载项 HTML 页面对应的板即可。或者,您也可以按照此处的说明进行操作:https://learn.microsoft.com/en-us/office/dev/add-ins/testing/debug-add-ins-using-f12-tools-ie
如果是 Microsoft Edge (EdgeHTML),安装Edge DevTools 预览。然后,打开它,然后将其附加到与您的加载项 HTML 页面相对应的目标。或者,您可以按照此处的说明进行操作:https://learn.microsoft.com/en-us/office/dev/add-ins/testing/debug-add-ins-using-devtools-edge-legacy
如果是微软的话Edge (WebView2),只需右键单击加载项的任务窗格,然后选择检查。或者,您可以按照此处的说明进行操作:https://learn.microsoft.com/en-us/office/dev/add-ins/testing/debug-add-ins-using-devtools-edge-chromium
一般来说,这是有关调试加载项的文档的良好起点:https://learn.microsoft.com/en-us/office/dev/add-ins/testing/debug-add-ins-overview
First step is to determine the underlying browser used to execute your add-in in Outlook 2016. Here's the documentation to help you determine that:
https://learn.microsoft.com/en-us/office/dev/add-ins/concepts/browsers-used-by-office-web-add-ins
If it is Internet Explorer, run
C:\windows\system32\f12\IEChooser.exe
, and just click on the slab that corresponds to your add-in's HTML page. Alternatively, you can follow the instructions here:https://learn.microsoft.com/en-us/office/dev/add-ins/testing/debug-add-ins-using-f12-tools-ie
If it is Microsoft Edge (EdgeHTML), install Edge DevTools Preview. Afterwards, open it, and then attach it to the target that corresponds to your add-in's HTML page. Alternatively, you can follow the instructions here: https://learn.microsoft.com/en-us/office/dev/add-ins/testing/debug-add-ins-using-devtools-edge-legacy
If it is Microsoft Edge (WebView2), simply right-click in the add-in's taskpane, and select Inspect. Alternatively, you can follow the instructions here: https://learn.microsoft.com/en-us/office/dev/add-ins/testing/debug-add-ins-using-devtools-edge-chromium
In general, this is a good starting place for documentation on debugging your add-in: https://learn.microsoft.com/en-us/office/dev/add-ins/testing/debug-add-ins-overview