SK SKYVVA Documentation

How to Export XML Data Using the Data Loader?

Introduction

In this tutorial, you will learn how to export XML files from Data Loader using both Flat and Hierarchical formats. Flat XML files contain data with only one level, while Hierarchical XML files have multiple levels of data. Our mapping will be handled using both data templates, and both formats utilize V3 processing.

In this tutorial, we are showing usecase with different XML formats:

Pre-requisite:

What is flat XML?

Flat XML in this context means a single level of elements wrapped in the root element with no other structuring.

Here are the steps to import XML file with the inbound interface:

Step 1: Create or Upload Message Type.

Step 2: Create Integration.

Step 3: Create an Outbound Interface link with the message type.

Step 3: Do mapping.

Step 4: Go to the Integration detail page and click data loader.

2. How to Export Hierarchical XML File with XML Root Tag and XML Root Tag Namespace

What is the Hierarchical?

In a hierarchical Interface, one interface is a parent of other interfaces. It means that the child interfaces a relationship with a parent. For example, the Account interface is a parent of the contact.

Also, One parent interface can have many child, but the child interface has only a single-parent interface. eg. one Account can store many Contacts, but one Contact can’t store many Accounts

Pre-requisite:

Here are the steps to Export a Hierarchical XML file with the outbound interface:

Step 1: Create or Upload Message Type.

Step 2:  Create Integration.

Step 3: Create an Outbound Interface.

Step 3: Do mapping.

Step 4: Go to the Integration detail tab and click data loader.

3. How to Export an XML file to generate a Root Tag and XML Root Tag Namespace without specifying the message type

Requisite Step:

Step1: Create Outbound Interface with API V3

Step2: Do mapping with sObject.

Step3: Go to the Integration detail tab and click data loader.

Summary
Open this article in the interactive viewer →