Internal element (AppPrincipalDefinition complexType)

(SharePoint Add-in Manifest)

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

The presence of this element means that the add-in is SharePoint-hosted, rather than provider-hosted.

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

Information Location
Element type Not defined
Namespace http://schemas.microsoft.com/sharepoint/2012/app/manifest
Schema file appmanifest.xsd

Definition

    <xs:element name="Internal" >
      <xs:attribute name="AllowedRemoteHostUrl"
        type="ManifestUri"
        use="optional"
        />
      <xs:attribute name="RedirectUrl"
        type="ManifestUri"
        use="optional"
        />
    </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

AppPrincipal

AppPrincipalDefinition

The add-in principal information.


Child elements

None.


Attributes

Attribute

Type

Required

Description

Possible values

AllowedRemoteHostUrl

ManifestUri

optional

The allowed remote host URL of the add-in principal.

Values of the ManifestUri type.

RedirectUrl

ManifestUri

optional

The redirect URL of the add-in principal.

Values of the ManifestUri type.