Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

An sObject refers to any object that can be stored in the Force.com platform database and includes all the standard and custom objects in your organization. With the Salesforce connector operations, you can define an sObject structure in the message payload, which you can send directly from the caller or generate using the PayloadFactory mediator in ESB as follows:

Code Block
<payloadFactory>
    <format>                                            
        <sfdc:sObjects xmlns:sfdc="sfdc" type="Account"> 
          <sfdc:sObject>
             <sfdc:Name>value01</sfdc:Name>              
          </sfdc:sObject>
          <sfdc:sObject>                                 
             <sfdc:Name>value02</sfdc:Name>
          </sfdc:sObject>
       </sfdc:sObjects>
    </format>
    <args/>
</payloadFactory> 

...

Code Block
languagehtml/xml
titledescribeSobject
<salesforce.describeSobject configKey="MySFConfig">
    <sobject>Account</sobject>
</salesforce.describeSobject>
Properties
  • sobject: The object type of where you want to retrieve the metadata.

...

Code Block
languagehtml/xml
titledescribeSobjects
<salesforce.describeSobjects configKey="MySFConfig">
    <sobjects xmlns:sfdc="sfdc">{//sfdc:sObjects}</sobjects>
</salesforce.describeSobjects>

Properties

  • sobjects: An XML representation of the object types of where you want to retrieve the metadata.

...