githubEdit

Extracting Salesforce Data

Data Extraction Overview

Basic DataLoader offers a convenient feature to extract data from Salesforce by defining filter criteria using queries during job creation. The query specified at this stage determines which records are retrieved when the job is executed. This ensures that only the relevant dataset is fetched based on the configured query conditions, enabling targeted and efficient data extraction.

Step-By-Step Guide:

  1. Open the Basic application by logging in to the application.

  2. Expand the "Dataloader" option to click on the "Basic" option.

  3. This will open the basic dataloader application.

  4. Click on the "Create new job" button to initiate the creation of an "Extract" job.

  5. On clicking on the "Extract" job, the flow will navigate to the "Login and select object" step.

  6. Select an object from the available list of objects.

  7. On selecting the objects, click on "LOGIN AND FETCH OBJECTS" button to fetch the object list.

  8. Select the required object on which the data extraction has to be performed and click on "Next" to add filters for specifying the filter criteria.

  9. Under the filters, select the following to set the filter criteria:

    1. Reference object: Select the objects related to the object selection made earlier

    2. Select field: Select the field associated with the reference object selected.

    3. Select Operator: Select an operator from the available list.

    4. Value: Enter the required value as per the filter criteria being built.

  10. Observe the "Fields" section on the left-hand side of the screen.

    1. Enabling this will make the field's information visible.

  11. Click on the "v" icon to collapse the section and observe the rest of the available objects.

  12. Observe the collapsed list on the left side of the screen.

  13. Click on the "+" icon to add the prepared query to the query area

  14. On clicking the "+" icon, the query will be added to the query section.

  15. Use the "+" icon to add multiple conditions across different objects, enabling the construction of complex queries with precision.

  16. Fields can be added from the leftside "Fields" section at any point of the query building.

  17. IIn the Order By section, specify whether the extracted records should be sorted in ascending or descending order based on the selected field, enabling structured and meaningful data output.

    • Select a field to be your sorting criteria.

    • Select your sorting order: Ascending or Descending.

  18. Click on the "Enable Text Editor" button to make the query editor window editable.

  19. Observe the editable query editor. Now, the query can be manually entered.

  20. Once the query editor is enabled for editing rest of the options to select the fields will be dissabled or grayed out.

  21. To go back to building the query using the field selection, click on the "Reset Text Editor" button.

  22. Clicking this option reverts all manual changes made to the query. A confirmation prompt appears before restoring the original field selection used for building the query.

  23. After building the query—whether manually or via field selection—use the Validate option to confirm its accuracy before proceeding with the Extract job configuration.

  24. On validating the query, a success message will be displayed with the number of records to be extracted.

  25. On successfully validating the query, click on "Next" to continue to the "Schedule" option

  26. Multiple schedule options are available to schedule the job

  27. On completing the scheduling, click "Next" to move to the "Process Details".

  28. Select a "Job Group" to assign the job to a group.

  29. Click on "Save" to save the extract job created.

  30. Clicking "Save" will redirect to the job list screen of the dataloader basic.

  31. Click on "Save" to run the job.

  32. Clicking save will redirect to the "Run Configuration" screen.

  33. Clicking "Run" on the configuration sceen will redirect to the job list screen with the job "in-progress" and the "Abort" options on the job.

  34. Click on the Eclipse icon to observe the options

  35. Click on the "Edit" option to initiate the edit flow of the job

  36. Click the Schedule option to view any existing schedule configured during job creation. A new schedule can also be set at this stage, which will apply specifically to the current job.

  37. To delete the job, click on the "Delete" option.

  38. A confirmation prompt is displayed to ensure the deletion action is intentional and acknowledged, helping prevent accidental removal of the process.

  39. Click on the "Clone" option to initiate the clone operation of the job.

  40. Once the clone operation is completed, a cloned job can be observed on the job list page.

  41. Click on the "Log" option to observe the job details of the job.

  42. The success and the failure of the records can be observed under the "Result of Last Run".

  43. Click on the "Success" icon to observe the success records

Last updated

Was this helpful?