Importing and exporting data
Salesforce provides a number of its own tools for importing and exporting data, as well as a number of third-party options based on the Salesforce APIs; these are listed on AppExchange. This section will focus on a more complex scenario when importing records with other record relationships, as it is not possible to predict and include the IDs of related records, such as the Season record ID when importing Race records; this section will present two solutions to this:
- Salesforce DX CLI data import and export
- Salesforce data import wizard
The following subsections will go into the preceding tools in more detail.
Salesforce CLI data import and export
When developing and testing your solution, it is useful to have sample data that you can easily import into your objects. Salesforce DX provides some useful CLI commands that help in this regard. We are starting to develop a complex object model that contains multiple objects...