QuestionQ22

Commerce Data Model and APIs

A developer must import newly added product data from a JSON file as a one-time operation. Which two approaches are viable?

Choose two
  • A Run a command like: sfdx force:data:tree:import -fNewProducts.json -u <your username>
  • B Run a command like: sfdx force:data:import: bulk -fNewProducts. json -u <your username>
  • C Convert the JSON to an xlsx file and use Workbench to import it
  • D Convert the JSON to a CSV file and use Data Loader to import it
Explanation

Salesforce CLI data tree import supports JSON files in sObject tree format. Salesforce Data Loader imports records from CSV files, so JSON data can be converted to CSV and loaded through Data Loader.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!