createPropertySet createpropertyset

プロパティセットは、プロパティセットタイプに応じて、さまざまなIPS オブジェクトにアタッチできるアプリケーション固有の名前と値のペアのセットです。 プロパティ セットの種類で、複数のセットをオブジェクトに添付することが許可されておらず(PropertySetType/allowMultipleisfalse)、オブジェクトに同じ種類の関連セットが既に含まれている場合、新しいセットが既存のセットに置き換えられます。

構文

承認済みユーザータイプ section-f9b6187ba636475787c997fc27bb192a

  • IpsAdmin
  • IpsCompanyAdmin
  • TrialSiteAdmin
  • ImagePortalAdmin

パラメーター section-25258e75f5f3419bad165c797eb6cd8e

入力(createPropertySetParam)

名前
種類
必須
説明
typeHandle
xsd:string
はい
プロパティセットタイプへのハンドル。
primaryOwnerHandle
xsd:string
はい
プロパティセットのプライマリオーナーへのハンドル。
secondaryOwnerHandle
xsd:string
いいえ
プロパティセットのセカンダリオーナーへのハンドル。
propertyArray
types:PropertyArray
はい
プロパティの配列。
permissionArray
types:PermissionUpdateArray

出力(createPropertySetParam)

名前
種類
必須
説明
setHandle
xsd:string
はい
新しいプロパティセットへのハンドル。

section-4e1f5b2883664bc88f590fcd253df22b

このコード サンプルでは、プロパティの名前と値を含むプロパティ セットを作成します。 応答は、新しいプロパティセットへのハンドルを返します。

リクエスト

<createPropertySetParam xmlns="http://www.scene7.com/IpsApi/xsd/2008-01-15">
   <typeHandle>pt|10801</typeHandle>
   <primaryOwnerHandle>u|41|strangio@adobe.com</primaryOwnerHandle>
   <propertyArray>
      <items>
         <name>application_project_whatever</name>
         <value>true</value>
      </items>
      <items>
         <name>application_server_prefix_published_test</name>
         <value>http://s7everest.macromedia.com:8080/is/image/</value>
      </items>
      <items>
         <name>application_server_prefix_origin_test</name>
         <value>http://s7everest:8080/is/image/</value>
      </items>
   </propertyArray>
</createPropertySetParam>

応答

<createPropertySetReturn xmlns="http://www.scene7.com/IpsApi/xsd/2008-01-15">
   <setHandle>ps|941</setHandle>
</createPropertySetReturn>
recommendation-more-help
dynamic-media-developer-resources-help-aem-ips-api