Imports data into an org using the SObject Tree Save API. This data can include master-detail relationships.
It executes the force:data:tree:import command.
In addition to the attributes used by every ant-sfdx task, this task uses the following attributes:
Attribute | Command line equivalent | Description | Required |
---|---|---|---|
plan | -p | Path to plan to insert multiple data files that have master-detail relationships. | No |
targetusername | -u | A username or alias for the target org. | No |
You can use any number of nested <fileset>
elements to define the record trees to insert and refer to <fileset>
s defined elsewhere.
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