SK SKYVVA Documentation

6. How to use tree mapping concept to create hierarchical interfaces?

Learning Objectives After completing this unit, you’ll be able to:

Introduction We can link two different objects with each other using the foreign key or tree mapping. What Are Hierarchical Interfaces?

What is the foreign key? A FOREIGN KEY is a field (custom fields) in one Interface that refers to the PRIMARY KEY . The Interface containing the foreign key is called the child Interface, and the Interface containing the candidate key is called the parent Interface. How to create Foreign key? This is also called as object field in account object. Follow the given steps to create object field:

here we get object field on Target Account Salesforce object.

Create hierarchical Interface using Tree Mapping :

What is Skyvva tree mapping?

Objective:

Create parent child relationship using tree mapping Pre-requisite:

How to create Hierarchical Interfaces? Follow the given steps to create hierarchical interface using VLOOK UP. Note: We have to create message type for Istructure. We can easily get hierarchical Istructure using message type. Also It is reusable in another interface. To learn detail about message type feature we can follow this tutorial ->  How to create message type with different file format? Step 1: We have to click on metadata provider tab and click on New button. In Skyvva, when we create metadata, Name filed is only mandatory field. On MetaData the Name cannot be duplicate.

Step2: Create Istructure Repository in created metadata. The purpose of Istructure is An Interface for a structure that contains the metadata of a structure. -  We have click on related tab then click on new button to create Istrutcure repository.

-  We have to open our created Istructure repository.

Step 3:  We have to create message type. -  click on upload file button. Pop up window should open.

-  Select file format which you want to upload. Here we used xml file to create message type.

Step4: Create Integration. (click on  Integration tab then fill in the Name Field and Save.)

Step5: Create Account Interface where:

Mapping:

Note:  We should create foreign key If there are multiple  foreign keys (custom field) in your org. The user need to choose one key because the system doesn't know which one you want to use as the reference or the key to search for the Account SF Id.

-  We can check that Ichained Interface  is automatically created in account interface(parent interface).

(Note: Child interface is not display in integration).

Click on related tab -> scroll down page to foreign key section

Step 6: manually load data 

Push Record on  message  Board: Click on ‘Push’ Button to upload the data into Salesforce and you get the message that the upload process started. We click on the ‘Message Board’ Button  and come to the Message Board.

Step7: Search On message board:- Below in the ‘Filters’  area you can search for different criteria e.g. Integration Name, Interface Name, Message Status or by Date. Filters: – Integration Name: You can choose which Integration you prefer to see the result

– Interface Name: You can chose which Interface you prefer to see the result

– Message Status:

There are many types of Status, but there are 3 common using types:

– Green Flag   =  The upload was successful and is Completed

– Red Flag    = Failed

– Yellow Flag  = Pending

– Yellow Flag  = Pending

Note:  You can select None if you prefer to see all types of message flags. Then click on Search.

Finally, you can get Account has relationship with contact like screen shot below. Account Name is India123  link with contact Jenny John.

Open this article in the interactive viewer →