property (External Application)

SharePoint 2010

Last modified: March 09, 2015

Applies to: SharePoint Foundation 2010

Sets the value of a property of the hosting Web Part. In Microsoft SharePoint Foundation, the property is always a property of the SilverlightWebPart class.

applicationParts (External Application)
  applicationPart (External Application)
    data (External Application)
      webPartProperties (External Application)
        property (External Application)
<property name=’name_of_property’>Value_of_Property</property>

Complex

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

name

The case-sensitive name of the property of the Web Part.

Child Elements

None.

Parent Elements

Element

Description

webPartProperties

Provides information about the Web Part.

Can be any string, but it must be the case-sensitive string equivalent of a possible value of the property that is named by the name attribute. For example, if the property named returns an enum value, the string must be a case-sensitive string version of one of the values in the enum class.

The <property> element is optional. There can be any number of them, but each one must correspond to a property in the SilverlightWebPart class. The name attribute is required.

The following markup shows this element in use.


<?xml version='1.0' encoding='utf-16'?>
<applicationParts xmlns='http://schemas.microsoft.com/sharepoint/2009/fluidapp'>
  <applicationPart>
    <metaData>
      <applicationId>00000000-0000-0000-0000-000000000000</applicationId>
      <applicationUrl>http://www.contoso.com/someapplication.xap</applicationUrl>
      <principal>domain\username</principal>
      <sharepointRequestHandlerUrl>/sp.ashx</sharepointRequestHandlerUrl>
    </metaData>
    <data>
      <webPartProperties>
        <property name='Title'>Title</property>
        <property name='Description'>Description</property>
        <property name='WindowlessMode'>TRUE</property>
        <property name='Height'>200px</property>
        <property name='Width'>100px</property>
        <property name='HelpUrl'>http://www.contoso.com/someapplication/help.aspx</property>
        <property name='HelpMode'>Modal</property>
        <property name='Direction'>NotSet</property>
        <property name='MinRuntimeVersion'>3.0</property>
      </webPartProperties>
      <customProperties>
        <property name='CustomPropertyName'>CustomPropertyInfo</property>
      </customProperties>
    </data>
  </applicationPart>
</applicationParts>


Namespace

http://schemas.microsoft.com/sharepoint/2009/fluidapp

Schema Name

FluidAppSettings

Validation File

Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML\FluidApplicationSettings.xsd

Can be Empty

No

Show: