Share via


2.2.91 ItemHasKnownEntity

Target namespace: http://schemas.microsoft.com/office/mailappversionoverrides

Defines a rule that evaluates to true if the item contains text of the specified entity type in its subject or body.

Attributes:

EntityType: A ShortString attribute that specifies the type of entity that MUST be found for the rule to evaluate to true. Currently supported values are: "MeetingSuggestion", "TaskSuggestion", "Address", "Url", "PhoneNumber", "EmailAddress", and "Contact".

RegExFilter: A NonEmptyString attribute that specifies a regular expression to run against this entity for activation.

FilterName: A NonEmptyString attribute that specifies the name of the regular expression filter, so that it is subsequently possible to refer to it by code.

IgnoreCase: A boolean attribute that specifies to ignore case when running the regular expression specified by the "RegExFilter" attribute.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xs:complexType name="ItemHasKnownEntity">
   <xs:complexContent>
     <xs:extension base="Rule">
       <xs:attribute name="EntityType" type="bt:ShortString" use="required"/>
       <xs:attribute name="RegExFilter" type="bt:NonEmptyString" use="optional"/>
       <xs:attribute name="FilterName" type="bt:NonEmptyString" use="optional"/>
       <xs:attribute name="IgnoreCase" type="xs:boolean" use="optional"/>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>

See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).