次の方法で共有


customProperties (外部アプリケーション)

最終更新日: 2015年3月9日

適用対象: SharePoint Foundation 2010

外部アプリケーションまたは Web パーツに関するカスタム情報を提供します。

applicationParts (外部アプリケーション)
  applicationPart (外部アプリケーション)
    データ (外部アプリケーション)
      customProperties (外部アプリケーション)

<customProperties> ... </customProperties>

Complex

属性と要素

以下のセクションで、属性、子要素、親要素について説明します。

属性

なし。

子要素

XML マークアップは、<customProperties> の子になります。通常、<webPartProperties> 要素で使用される構文と同じ構文を持つ <property> 要素が含まれます。

親要素

要素

説明

データ

Web パーツの表示に関する情報、場合によっては外部アプリケーションと Web パーツのカスタム情報が含まれます。

コメント

<customProperties> 要素は任意です。既定の外部アプリケーション プロバイダー (EAP) では使用されません。しかし、カスタム EAP では使用できます。たとえばカスタム EAP に外部アプリケーションのカスタム登録ページが含まれている場合、そのページの背後のコードを使用してアプリケーション プリンシパル ユーザーを作成できます。<customProperties> 要素を使用して、アプリケーション プリンシパルに必要な権限を格納できます。

この要素の使用と、SilverlightWebPart.CustomInitParameters プロパティおよび SilverlightWebPart.CustomProperties プロパティの使用を対比します。3 つはそれぞれ異なる目的があります。

次のマークアップは、使用中のこの要素を示しています。

<?xml version='1.0' encoding='utf-16'?>
<applicationParts xmlns='https://schemas.microsoft.com/sharepoint/2009/fluidapp'>
  <applicationPart>
    <metaData>
      <applicationId>00000000-0000-0000-0000-000000000000</applicationId>
      <applicationUrl>https://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'>https://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>

要素の情報

名前空間

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

スキーマ名

FluidAppSettings

検証ファイル

ドライブ:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML\FluidApplicationSettings.xsd

空に設定可能

不可