Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

ItemIs complexType (app manifest schema v1.1)

apps for Office

Defines a rule that evaluates to true if the selected item is of the specified type.

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="ItemIs">
    <xs:complexContent>
        <xs:extension base="Rule">
            <xs:attribute name="ItemType" type="ItemType" use="required" />
            <xs:attribute name="FormType" type="ItemFormType" use="required">
            <xs:attribute name="ItemClass" type="NonEmptyString" use="optional" />
            <xs:attribute name="IncludeSubClasses" 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

ItemType

ItemType

required

Specifies the item type to match.

Values of the ItemType type.

FormType

ItemFormType

required

Specifies whether the app should appear in read or edit form for the item.

Values of the ItemFormType type.

ItemClass

NonEmptyString

optional

Specifies the item message class to match.

Values of the NonEmptyString type.

IncludeSubClasses

xs:boolean

optional

Specifies whether the rule should evaluate to true if the item is of a subclass of the specified message class; the default is false.

Values of the xs:boolean type.

ItemClass

NonEmptyString

optional

Specifies the item message class to match.

Values of the NonEmptyString type.

Show:
© 2015 Microsoft