getPropertySets

Gets property sets associated with a type handle.

Syntax

Authorized User Types

  • IpsUser
  • IpsAdmin
  • IpsCompanyAdmin
  • TrialSiteAdmin
  • TrialSiteUser
  • ImagePortalAdmin
  • ImagePortalUser
  • ImagePortalContrib
  • ImagePortalContribUser

Parameters

Input (getPropertySetsParam)

Name
Type
Required
Description
typeHandle
xsd:string
Yes
The handle to the property set type.
primaryOwnerHandle
xsd:string
Yes
The primary owner of the data bound to the database object.
secondaryOwnerHandle
xsd:string
No
An optional secondary owner of the data.

Output (getPropertySetsReturn)

Name
Type
Required
Description
setArray
types:PropertySetArray
Yes
Arry of property sets.

Examples

This code sample returns property sets of their primary owner, specified by a type handle.

Request

<getPropertySetsParam xmlns="http://www.scene7.com/IpsApi/xsd/2008-01-15">
   <typeHandle>pt|10801</typeHandle>
   <primaryOwnerHandle>u|41|strangio@adobe.com</primaryOwnerHandle>
</getPropertySetsParam>

Response

<getPropertySetsReturn xmlns="http://www.scene7.com/IpsApi/xsd/2008-01-15">
   <setArray>
      <items>
         <setHandle>ps|941</setHandle>
         <typeHandle>pt|10801</typeHandle>
         <propertyArray>
            <items>
               <name>application_server_prefix_published_test</name>
               <value>http://s7teton.macromedia.com:8080/is/image/</value>
            </items>
            <items>
               <name>application_project_whatever</name>
               <value>false</value>
            </items>
            <items>
               <name>application_server_prefix_origin_test</name>
               <value>http://s7teton:8080/is/image</value>
            </items>
         </propertyArray>
      </items>
   </setArray>
</getPropertySetsReturn>
4e9b9d8c-5839-4215-aa35-01b652869681