从Outlook 365加载项清单中读取参数 [英] Read parameters from Outlook 365 Add-In manifest
问题描述
是否可以通过编程方式从Outlook 365加载项清单中获取参数(例如版本号或资源)?我已经在互联网上进行了搜索,但是还没有找到任何方法:(
Is it possible to get the parameters from the Outlook 365 add-in manifest programmatically (like version number or maybe resources)? I've searched all over the internet, but haven't found any way to do it yet :(
某些背景:我需要在运行时从清单设置中获得一些信息(希望客户通过清单安装外接程序,并且应为每位客户量身定制具有某些特殊数据的外接程序.)
Some background: I need some information to be available at run-time from the manifest settings (the customers are expected to install the add-in via manifest and it is to be tailored for each customer with some special data).
提前谢谢!
推荐答案
清单文件仅由客户端(即Outlook或Word)使用,用于呈现该加载项(即URL,要显示的按钮,最低要求等).当前没有API将清单数据公开给外接程序实例本身.
The manifest file is only consumed by the client (i.e. Outlook or Word) for the purposes of rendering that add-in (i.e. the URL, buttons to display, minimum requirements, etc.). There are currently no APIs that expose manifest data to the add-in instance itself.
这篇关于从Outlook 365加载项清单中读取参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!