QuestionQ6

Commerce Data Model and APIs

A developer must create a scheduled job in another system to move data into the B2B Commerce org. How can the developer accomplish this without using additional third-party tools?

  • A Create a job in the org (on-platform) to drop a file of existing data, Use the off-platform machine to generate a file and identify the details between the two, Push the changes to the org’s “Import” directory
  • B Install a minimal set of dev tools on a machine such as the Command Line Interface (CLI) and create appropriate scripts to import files containing the data
  • C Set up an SFTP server as a waystation, drop the files there using the off-platform job and schedule a job in-platform to process the file
  • D Set up WebDAV with SFTP as a waystation, drop the files there using the off-platform job and schedule a Job in-platform to process the file
Explanation

Salesforce CLI supports scripted bulk imports of CSV data into Salesforce objects through Bulk API 2.0. Installing the CLI on the external machine lets its scheduled process run the appropriate import scripts directly against the org, without an intermediary SFTP/WebDAV server or another integration tool.

Learn more

Community Discussion

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