Share via


ItemHasKnownEntity complexType (apps for Office 1.1)

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

Introduced in

apps for Office Manifest Schema Reference v1.0

Type information

Namespace

https://schemas.microsoft.com/office/appforoffice/1.1

Schema file

OfficeAppManifestv1.1.xsd

Extension base

None

Definition

<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>

Elements and attributes

スキーマで sequence、minOccurs、maxOccurs、choice などの具体的な要件が定義されている場合は、定義のセクションを参照してください。

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.

Additional resources

See the following links for more information