默认情况下如何不显示Office加载项(任务窗格) [英] How can Office Add-in (Task-pane) not display by default

查看:215
本文介绍了默认情况下如何不显示Office加载项(任务窗格)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个任务窗格Office加载项( https://msdn.microsoft.com/zh-CN/library/office/fp123523.aspx )在已注册的Office 365网站上.当用户从该站点上的文档库中打开电子表格时,然后在编辑模式下,可以使用插入"菜单中的"Office加载项"将我的加载项插入到电子表格中.我的加载项可帮助他们填充和更新电子表格中的数据.然后,他们将电子表格连同更新后的数据一起保存.

I have an Task-pane Office Add-in (https://msdn.microsoft.com/en-us/library/office/fp123523.aspx) on registered Office 365 Site. When the user opens a spreadsheet from a document library on that site, then in edit mode, can use the "Office Add-ins" from the Insert menu to insert my add-in to the Spreadsheet. My add-in helps them population and update data on the spreadsheet. They then save the spreadsheet back with the updated data.

现在,下次他们打开该电子表格时,我的任务窗格会再次显示.有没有任何任务窗格无法开始打开?我希望用户从功能区栏中明确打开.

Now, the next time they open that spreadsheet, my task-pane shows up again. Is there any the task pane can not start opened? I would like the user to explicitly open from the ribbon bar.

此外,当他们下载电子表格并将其提供给其他人,然后该人使用Excel 2013打开电子表格时,该加载项会再次显示(询问他们是否要运行该加载项)

Furthermore, when they download and give the spreadsheet to someone else, and that person opens the spreadsheet using Excel 2013, the add-in shows up again (they are asked if they want to run the add-in)

就我而言,我从不希望用户可以从Excel桌面访问此任务窗格加载项.因此,当我确定该页面正在桌面上运行时,我正在考虑将该页面清空.但是,我想关闭加载项窗口.有办法吗?

In my case, I never want the user to have access to this task-pane add-in from Excel desktop. So I'm thinking blanking out the page when I can determine it's running in the desktop. I would, however, would like the add-in window closed. Is there a way to do that?

了解我的加载项功能的最好方法是,它有点像Excel中的TFS加载项.目的是填充和提取数据.在电子表格中填充数据后,您不希望外接程序仍在打开.实际上,没有TFS加载项的人可以打开电子表格,并且一切正常.不幸的是,我们不能像TFS使用Office Online技术那样创建功能区加载项.任务窗格就足够了,但似乎太粘"了.

The best way to understand the functionality of my add-in is that it's kind of like the TFS add-in in Excel. It's purpose is to populate and pull data. After you populate the data in the spreadsheet, you don't want the Add-in still there open. In fact, someone without the TFS Add-in can open the spreadsheet and it all works. Unfortunately, we cannot create ribbon add-ins like TFS has using the Office Online technology. The Task-pane will suffice, but it seems to be too "sticky".

推荐答案

当前无法实现.可以在 Office可扩展性平台的UserVoice .

This is not currently possible. 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加载项(任务窗格)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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