編輯

共用方式為


PropertiesDefinition complexType

(SharePoint Add-in Manifest)

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

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

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

Definition

    <xs:complexType name="PropertiesDefinition">
      <xs:all>
        <xs:element name="InstalledEventEndpoint"  type="UrlElementDefinition"
         minOccurs="0"
         maxOccurs="1"
        >
        </xs:element>

        <xs:element name="StartPage"  type="UrlElementDefinition"
         minOccurs="1"
         maxOccurs="1"
        >
        </xs:element>

        <xs:element name="SupportedLanguages"  type="SupportedLanguagesDefinition"
         minOccurs="0"
         maxOccurs="1"
        >
        </xs:element>

        <xs:element name="Title"  type="TitleDefinition"
         minOccurs="1"
         maxOccurs="1"
        >
        </xs:element>

        <xs:element name="UninstallingEventEndpoint"  type="UrlElementDefinition"
         minOccurs="0"
         maxOccurs="1"
        >
        </xs:element>

        <xs:element name="UpgradedEventEndpoint"  type="UrlElementDefinition"
         minOccurs="0"
         maxOccurs="1"
        >
        </xs:element>

        <xs:element name="WebTemplate"  type="WebTemplateDefinition"
         minOccurs="0"
         maxOccurs="1"
        >
        </xs:element>
      </xs:all>
    </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

InstalledEventEndpoint

UrlElementDefinition

The Url of the installed event receiver endpoint.

StartPage

UrlElementDefinition

The Url of the page visited when the SharePoint Add-in is launched.

SupportedLanguages

SupportedLanguagesDefinition

The semi-colon delimited list of language culture combinations that this add-in supports. For example: en-US;ja-JP;

Title

TitleDefinition

The title of the SharePoint Add-in.

UninstallingEventEndpoint

UrlElementDefinition

The Url of the uninstalling event receiver endpoint.

UpgradedEventEndpoint

UrlElementDefinition

The Url of the upgraded event receiver endpoint.

WebTemplate

WebTemplateDefinition

The web template to use when creating an add-in web.

SettingsPage

UrlElementDefinition

The Url of the page visited when the SharePoint Add-in settings need to be viewed or updated.

SupportedLocales

SupportedLocalesDefinition

List of locales that this add-in supports.


Attributes

None.