Share via


2.2.9 ContentAppSettings

Target namespace: http://schemas.microsoft.com/office/appforoffice/1.0

Referenced by: ContentApp

This element defines the settings applicable to a content add-in.

Child Elements:

SourceLocation: A URLLocaleAwareSetting (section 2.2.8) element that specifies the list of source file locations for this content add-in.

RequestedWidth: An ST_RequestedWidth (section 2.3.9) element that specifies the desired width in pixels for the initial content placeholder. This value MUST be between 32 and 1000 pixels.

RequestedHeight: An ST_RequestedHeight (section 2.3.10) element that specifies the desired height in pixels for the initial content placeholder. This value MUST be between 32 and 1000 pixels.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xs:complexType name="ContentAppSettings">
   <xs:sequence>
     <xs:element name="SourceLocation" type="URLLocaleAwareSetting" minOccurs="1" maxOccurs="1"/>
     <xs:element name="RequestedWidth" minOccurs="0" maxOccurs="1" type="ver:ST_RequestedWidth"/>
     <xs:element name="RequestedHeight" minOccurs="0" maxOccurs="1" type="ver:ST_RequestedHeight"/>
   </xs:sequence>
 </xs:complexType>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).