AppPermissionRequests element (AppDefinition complexType)

(SharePoint Add-in Manifest)

Applies to: SharePoint Add-ins | SharePoint Foundation 2013 | SharePoint Server 2013

A list of resources that a SharePoint Add-in needs access to.

Note

The string app appears as part of or all of some element, attribute, and file names because SharePoint Add-ins were originally called "apps for SharePoint." To ensure backward compatibility, the schemas have not been changed.

Element information

Element type: AppPermissionRequestsDefinition

Namespace: http://schemas.microsoft.com/sharepoint/2012/app/manifest

Schema file: appmanifest.xsd

Definition

  <xs:element name="AppPermissionRequests"  type="AppPermissionRequestsDefinition"
        minOccurs="0"
        maxOccurs="1"
        >
  </xs:element>

Elements and attributes

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

Parent elements

Element

Type

Description

App

AppDefinition

The top level node of a SharePoint add-in Manifest.


Child elements

Element

Type

Description

AppPermissionRequest

AppPermissionRequestDefinition

The add-in permission requests.


Attributes

Attribute

Type

Required

Description

Possible values

AllowAppOnlyPolicy

xs:boolean

optional

Whether to allow the add-in to use add-in-only policy.

Values of the xs:boolean type.