Office Web App-加载时显示任务窗格 [英] Office Web App - Show task pane on load
问题描述
如何在加载加载项时自动显示自定义任务窗格(即,无需单击与该URL绑定的命令)?
How do I show a custom taskpane automatically when the add-in loads (i.e. without having to click a command that is tied to that URL)?
推荐答案
2018年1月更新:
Office附带了一项新功能,该功能允许您将加载项配置为在文件加载时自动打开任务窗格(如果以前在该位置使用过加载项):
Office has shipped a new feature which lets you configure your add-in to automatically open a task pane when the file loads if the add-in had been used there previously: https://docs.microsoft.com/en-us/office/dev/add-ins/design/automatically-open-a-task-pane-with-a-document.
原始答案:
命令当前无法用于启动任务窗格.
但是,如果您从清单中完全删除所有命令,则可以使任务窗格自动打开.
Commands cannot currently be used to launch a task pane when the document opens.
However, you can cause the task pane to open automatically if you remove all commands from the manifest entirely.
这篇关于Office Web App-加载时显示任务窗格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!