Skip to content

Latest commit

 

History

History
112 lines (91 loc) · 3.07 KB

appprincipaldefinition-complextype-sharepoint-add-in-manifest.md

File metadata and controls

112 lines (91 loc) · 3.07 KB
title description manager ms.date ms.audience ms.topic ms.localizationpriority ms.assetid
AppPrincipalDefinition complexType
Discusses the definition, elements and attributes for AppPrincipalDefinition complexType which applies to SharePoint.
soliver
06/14/2022
Developer
article
medium
321966b6-067a-5827-5398-a872e9004bb5

AppPrincipalDefinition complexType

(SharePoint Add-in Manifest)

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

The add-in principal definition.

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.

Type information

Information Location
Namespace http://schemas.microsoft.com/sharepoint/2012/app/manifest
Schema file appmanifest.xsd
Extension base None

Definition

    <xs:complexType name="AppPrincipalDefinition">
      <xs:choice>
        <xs:element name="RemoteWebApplication" >
          <xs:attribute name="ClientId"
          type="AppPermissionAppPrincipalDefinition"
          use="required"
          />
        </xs:element>

        <xs:element name="Internal" >
          <xs:attribute name="AllowedRemoteHostUrl"
          type="ManifestUri"
          use="optional"
          />
          <xs:attribute name="RedirectUrl"
          type="ManifestUri"
          use="optional"
          />
        </xs:element>

        <xs:element name="AutoDeployedWebApplication" >

      <xs:complexType>
        <xs:sequence>
          <xs:element name="DebugInfo"  type="AutoDeployedWebApplicationDebugInfoDefinition"
          minOccurs="0"
          >
          </xs:element>
        </xs:sequence>
      </xs:complexType>

        </xs:element>
      </xs:choice>
    </xs:complexType>

Elements and attributes

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

Child elements

Element

Type

Description

AutoDeployedWebApplication

Not defined

Internal

Not defined

RemoteWebApplication

Not defined

Attributes

None.