简体   繁体   English

从办公室 excel addin TaskPane 访问 manifest.xml 数据

[英]Access manifest.xml data from within the office excel addin TaskPane

I need to ensure the manifest version is compatible with my taskpane website.我需要确保清单版本与我的任务窗格网站兼容。 To handle it I need to know the currently used manifest version.要处理它,我需要知道当前使用的清单版本。

I didn't find anything in the API documentation a way to do that.我在 API 文档中没有找到任何方法来做到这一点。 The only way I imagined is to embbed the xml version as a query param for my home URI:我想象的唯一方法是将 xml 版本嵌入作为我的家庭 URI 的查询参数:

<bt:Url id="Home.url" DefaultValue="https://ENV_URL/home?manifestVersion=ADDIN_VERSION" />

Is there a better way to do this within the taskPane using Office API?使用 Office API 在 taskPane 中是否有更好的方法来执行此操作?

There is currently no Office API to fetch manifest.xml data.目前没有 Office API 来获取 manifest.xml 数据。 Embedding the XML version as a query param is the best way.嵌入 XML 版本作为查询参数是最好的方法。

To suggest this API, please go to Office Developer Voice .要建议此 API,请将 go 推荐给Office Developer Voice

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 Office 任务窗格和内容插件之间进行通信 - Communicate between Office taskpane and content addin 为什么没有UI的Office Addin命令在从taskpane发送相同命令时没有响应? - Why does my Office Addin command without UI not respond while the same command send from taskpane does? 任务窗格中的 Office 插件切换 div(加载面板)不起作用 - Office Addin toggle div (loading panel) in taskpane not working 当excel加载时,我们如何打开默认打开的excel插件任务窗格 - How can we open excel addin taskpane open by default when excel loads 如何从插件JavaScript代码关闭Office 365 Taskpane? - How to close office 365 taskpane from plugin javascript code? Office.JS:如何使用Office 2016 OnPrem加载Word / Excel任务窗格加载项? - Office.JS: How to sideload Word/Excel Taskpane add-in with Office 2016 OnPrem? 如何使用Office Addin的Angular请求 - How to make a request with Angular from Office Addin 如何解析.XAP或.Appx包中的Windows 10 Manifest.xml文件 - How to parse the Windows 10 Manifest.xml file inside an .XAP or a .Appx package Office-js Excel插件:何时返回context.sync() - Office-js Excel addin : when to return context.sync() 如何在用于 Excel 的自定义函数 Office 插件上引用外部库? - How to reference an external library on a Custom Function Office AddIn for Excel?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM