data-import-tree Task

Description

Imports data into an org using the SObject Tree Save API. This data can include master-detail relationships.

It executes the data import tree command.

Parameters

In addition to the attributes used by every ant-sf task, this task uses the following attributes:

Attribute Command line equivalent Description Required
plan --plan Path to plan to insert multiple data files that have master-detail relationships. No
targetorg --target-org A username or alias for the target org. No
referencesproperty The name of a property in which the references of the imported data should be stored. Subproperties are named according to the (lowercased) references ids of the imported data. No

Parameters specified as nested elements

fileset

You can use any number of nested <fileset> elements to define the record trees to insert and refer to <fileset>s defined elsewhere.

filelist

You can use any number of nested <filelist> elements to define the record trees to insert and refer to <filelist>s defined elsewhere.

Version: 0.0.0-master