基于动态Regex的上下文Outlook加载项

时间:2018-10-22 13:01:27

标签: outlook-addin outlook-web-addins

我正在尝试构建基于正则表达式的上下文Outlook加载项。但是,在写入/上传清单文件时,尚不知道Regex本身。它是从Rest Server获得的,并且是特定于用户的。

documentation中,我仅看到manifest.xml中提供的带有固定正则表达式的示例和教程。典型的扩展点声明看起来像这样(source):

<ExtensionPoint xsi:type="DetectedEntity">
              <Label resid="contextLabel" />
              <SourceLocation resid="detectedEntityURL" />
              <Rule xsi:type="RuleCollection" Mode="And">
                <Rule xsi:type="ItemIs" ItemType="Message" />
                <Rule xsi:type="ItemHasRegularExpressionMatch" RegExName="OrderNumber" RegExValue="CO-\d{9}" PropertyName="BodyAsPlaintext"/>
              </Rule>
</ExtensionPoint>

是否可以通过编程方式设置这些规则?

1 个答案:

答案 0 :(得分:0)

当前功能:您所请求的基于动态正则表达式的上下文加载项不属于产品的一部分。我们在用户语音页面https://officespdev.uservoice.com/forums/224641-general/category/131778-outlook-add-ins上跟踪Outlook加载项功能请求。请在此处添加您的请求。在进行规划过程时,会考虑用户语音功能请求。

[Outlook外接程序工程团队]

相关问题