ItemHasKnownEntity complexType (apps for Office)
Published: February 26, 2013
Defines a rule that evaluates to true if the item contains text of the specified entity type in its subject or body.
|
Namespace |
http://schemas.microsoft.com/office/appforoffice/1.0 |
|
Schema file |
offappmanifest.xsd |
|
Extension base |
Rule |
<xs:complexType name="ItemHasKnownEntity">
<xs:complexContent>
<xs:extension base="Rule">
<xs:attribute name="EntityType" type="KnownEntityType" use="required" />
<xs:attribute name="RegExFilter" type="NonEmptyString" use="optional" />
<xs:attribute name="FilterName" type="NonEmptyString" use="optional" />
<xs:attribute name="IgnoreCase" type="xs:boolean" use="optional" />
</xs:extension>
</xs:complexContent>
</xs:complexType>
Child elements
None.
Attributes
|
Attribute |
Type |
Required |
Description |
Possible values |
|---|---|---|---|---|
|
EntityType |
required |
Specifies the type of entity that must be found for the rule to evaluate to true. |
Values of the KnownEntityType type. |
|
|
FilterName |
optional |
Specifies the name of the regular expression filter, so that it is subsequently possible to refer to it by code. |
Values of the NonEmptyString type. |
|
|
IgnoreCase |
xs:boolean |
optional |
Specifies to ignore case when running the regular expression specified by the RegExFilter attribute. |
Values of the xs:boolean type. |
|
RegExFilter |
optional |
Specifies a regular expression to run against this entity for activation. |
Values of the NonEmptyString type. |