Rick Goud
Rick Goud

Reputation: 97

Any working example of a contextual outlook add-in in OWA

We are trying to make our Outlook Add-in contextual, meaning, activating upon a regex match.I have tried everything according to the documentation but it just doesn't seem to work.

Looking at other plugins, I was not able to find any working examples.

Is this still supported? Was the feature lost in an update? I can't even get Microsofts own built-in Bing add-in to activate.

Does anyone have a working example of a contextual Outlook Add-in?

Upvotes: 0

Views: 849

Answers (1)

user7823505
user7823505

Reputation:

Contextual Add-ins has some information that will help with using Detected Entities.

The legacy section of the manifest is being deprecated in Office 365. This includes the regular expression rules example you provided in the comments of your question. These rules can be used to highlight and activate on text but must be used in the DetectedEntity section in order to highlight contextually in Outlook on the Web for Outlook.com and Office 365.

The reason your manifest isn't working is because you may also have a VersionOverrides section (which is in the example you mentioned in the comments). The version overrides section overrides previous versions and is used to leverage Add-In Commands and newer features in Outlook.

Please note that the DetectedEntity section must be included in Version Overrides 1.1 which is nested inside VersionOverrides 1.0. Since the sample doesn't include a DetectedEntity section in the version overrides section, the highlight rules you're providing are being overriden.

Upvotes: 1

Related Questions