Tutorial

  1. Home
  2. Docs
  3. Tutorial
  4. 34. How to do Hierarchical mapping?

34. How to do Hierarchical mapping?

 

This tutorial explains about the configuring of hierarchical mapping. It describes the process of performing integration from external system.

1. What is Hierarchical mapping?

Hierarchical mapping is a mapping which you can map all different part of data from different sObject into the tree target structure.

We can do it by two ways:-

  1. Hierarchical mapping by using vlookup .
  2. Hierarchical mapping by using Foreign key.

     Pre-requisite:-

  • When we use message type, it  means that  parent interface contains child interface.
  • Child interface is created by message type automatically you did mapping on the parent interface.
  • The agent can read interface from skyvva/salesforce that interface type= Main-Interface only.

Follow the given steps to create message type:-

1.1  Create MetaData Providers -> New MetaData Providers:-

 

1.2 Create IStructure Repository click on New IStructure Repository :-

 

1.3  Create 3 New Message Type (account, contact) click on New Message Type:-

Account Interface:

 

Contact Interface:

 

1.4  Click on Message Types Related tab then click on Message Type field entry ->New button:-

  • New Button Navigate to:-

* Follow the same steps for contact Interface.

2.  The configuration:-

 2.1. The configuration for Hierarchical mapping by using vlookup :-

To configure this, there are steps should be followed:

  • Create an Interface which Lookup to MetaData Provider, IStructure Repository and Message Type.

 

  • Enter the Interface detail page, which you had just create, and mapping with flat field that include Account and Contact with sObject tree and then make VlookUp account with Contact:-

 

  • Then right click on field that we do vlookup:-

 

  • The following screen display that the Interface is automatically chain with contact after done mapping and vlookup:-

2.1.1 Go to Agent To process data:

  • Click on agent icon,  Select your integration, Interface:-

  • Click On edit Interface button:-

 

  • Save adapter and process the interface:-

 

2.1.2. The monitoring result in Message Monitoring Board

  • Please log in to Salesforce and enter Message Monitoring Board:-

 

 

  • You can Check the result:-

 

2.2 The configuration for Hierarchical mapping by using foreign key :-

To configure this, there are steps should be followed:

  • Create an Interface which Lookup to MetaData Provider, IStructure Repositoy and Message Type:-

 

  • Enter the Interface detail page, which you had just created.
  • Double click in the row as shown in the picture given below.

 

  • Select Foreign key and then click on ok button:-

  • The following screen display that the Interface is automatically chain with contact after done mapping:-

 

2.2.1. Go to Agent To process data:

  • Click on agent icon,  Select your integration, Interface:-

  • Click On edit Interface button:-

 

  • Save adapter and process the interface:-

 

2.2.2 The monitoring result in Message Monitoring Board

  • Please log in to Salesforce and enter Message Monitoring Board:-

 

  • You can Check the result:-

 

Was this article helpful to you? Yes No

How can we help?