SK SKYVVA Documentation

7. How to create Message Type from Salesforce sObject?

Introduction

As we know already about message type is describing the structure of a message that we will use in the mapping tool. We can create message type in many ways, but in this tutorial will show how to get message type from salesforce sObject. There are 788 sObjects in Salesforce. So when we use Salesforce sObject to get Message type, it will get All sObject.That means all sObject will generate to Message Type; Even we don’t want to use some message type.

How to use it?

Pre-require -Create a Metadata provider and repository for upload salesforce sObject. Step 1: We need to create a MetaDataProvider and Repository.

-After we save it, we can see the Message Type of Account has a child which is Contact.

[su_box title="Note" box_color="#2a8af0" title_color="#000000"] We can create many message Type's children as we want by following the step above. [/su_box]

Step2:  We will use this message type to export data in Salesforce.

Step 3: Connection destination and create an adapter for the Interface.

Summary  Finally, we have reached the goal of how to create Message Type from  Salesforce sObject. We use Salesforce sObject when we want to get data fields as the same Salesforce's fields. Using Salesforce sObject for creating message type, we can't select the sObject that we wish to, so when we use the function Salesforce sObject to create Message type, it will make us generate all salesforce sobject that it has.

Open this article in the interactive viewer →