Automatically loading Word Task Pane Office Add-in

六月ゝ 毕业季﹏ 提交于 2019-12-12 12:23:31

问题


We are developing a Word Task Pane Office Add-in (not VSTO) for internal organization documents

In Word 2013 (desktop) when we insert the add-in and save the document, when we reopen that document the add-in is automatically loaded.

In Word Online, this behavior is different, the add-in doesn't get automatically loaded. The user has to manually insert the add-in every time the document is opened.

  1. Is there a way to automatically load it in Word Online?

  2. Would running our own Office Web App Server help?

  3. Is there a way to load the add-in through a parameter? (maybe query string?)

Thanks


回答1:


We have changed the behaviour you describe: starting in January, Word Online add-ins will be persisted in the document just like they are in Word for desktop. So #1 is not supported now but will be soon. Workarounds like #2 and #3 are not available now.

Thanks! -Michael (Microsoft Program Manager for add-ins)




回答2:


Thank you for posting this issue and giving us the opportunity to find a resolution. It looks like we are having a temporary issue at present where the Office Add-ins width is getting saved to 3 pixels. We are striving to find a resolution as soon as possible. In the mean time you can try the following workaround

Temporary workarounds: 1.Opening the file in excel client app and saving the file will fix the width issue because we have a minimum width set in excel client app. 2.open the file in open xml editor, locate \xl\webextensions\taskpanes.xml and edit 'width' property of entry to a greater value, say, 300.

After the file is edited in client or excel client, excel client respects the new value and it do NOT go back to value 3. The issue seems to be only repro with the add-ins inserted in excel WAC only.

We will update the article once it is fixed

Thanks, Sky

Microsoft Program Manager.



来源:https://stackoverflow.com/questions/33307607/automatically-loading-word-task-pane-office-add-in

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!