簡體   English   中英

從辦公室 excel addin TaskPane 訪問 manifest.xml 數據

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

我需要確保清單版本與我的任務窗格網站兼容。 要處理它,我需要知道當前使用的清單版本。

我在 API 文檔中沒有找到任何方法來做到這一點。 我想象的唯一方法是將 xml 版本嵌入作為我的家庭 URI 的查詢參數:

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

使用 Office API 在 taskPane 中是否有更好的方法來執行此操作?

目前沒有 Office API 來獲取 manifest.xml 數據。 嵌入 XML 版本作為查詢參數是最好的方法。

要建議此 API,請將 go 推薦給Office Developer Voice

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM