Export (0) Print
Expand All
Expand Minimize

ItemHasKnownEntity complexType (app manifest schema v1.1)

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

Last modified: January 28, 2014

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>

If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.

Child elements

None.

Attributes

Attribute

Type

Required

Description

Possible values

EntityType

KnownEntityType

required

Specifies the type of entity that must be found for the rule to evaluate to true.

Values of the KnownEntityType type.

FilterName

NonEmptyString

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

NonEmptyString

optional

Specifies a regular expression to run against this entity for activation.

Values of the NonEmptyString type.

Community Additions

ADD
Show:
© 2014 Microsoft