Expand Minimize

ItemHasKnownEntity complexType (app manifest schema v1.1)

Office Add-ins

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

Last modified: March 09, 2015

Note Note

The name "apps for Office" is changing to "Office Add-ins". During the transition, the documentation and the UI of some Office host applications and Visual Studio tools might still use the term "apps for Office".

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.

Show:
© 2015 Microsoft