SK SKYVVA Documentation

2. How to create hierarchical interface using VLOOKUP

Learning Objective:- This unit describes:-

Introduction

To create a hierarchical interface using the VLOOKUP formula, we need to arrange the interface in a specific order. One interface is the parent interface and another is its child where the child interface inherited External ID from its parent's interface. We use the VLOOKUP formula which will search an object for a record where the specified field matches the specified lookup value. If a match is found, return another specified value.

What is a hierarchical interface?

How to create Hierarchical Interfaces?

Follow the given steps to create a hierarchical interface using VLOOK UP. [su_box title="Note" box_color="#2a8af0" title_color="#000000"] We have to create a message type for Istructure. We can easily get a hierarchical Istructure using message type. Also, It is reusable in another interface.[/su_box] Step 1: Open the metadata provider, Click on the New button.

Step2: Create Istructure Repository in created metadata. The purpose of Istructure is An Interface for a structure that contains the metadata of a structure.

Step 3:  We have to create a message type.

Step4: Create Integration. Step5: Create Account Interface where we need to add:

Create VLOOK Up Formula: To open the expression formula window we have two options:

For Example: Formula: VLOOKUP(account,Id,AccountNumber,Id) The Expression means we find Account that has External id on Target Account name is AccountNumber and mapping on Source AccountNumber is Id. Here is the syntax of VLOOKUP: “VLOOKUP(Standard/CustomObjectName,FieldToRetrieve,FieldCondition1,Condition1,FieldCondition2,Condition2,...)” The popup window will show a window where to add Formula and Expression.

[su_box title="Note" box_color="#2a8af0" title_color="#000000"] If the output is failed, it means that your formula is incorrect. In conclusion, after you map all fields, do the formula and choose the External ID, please save. Just in case you forget to save, all your Data Mapping will be lost.[/su_box]

[su_box title="Note" box_color="#2a8af0" title_color="#000000"]Remove Export field if we get error that the file we uploaded is different to the file in the mapping. [/su_box]

Open this article in the interactive viewer →