[英]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.