Skip to main content
Help shape the future of Headless 360 learning on Trailhead. Complete this short survey now through July 28.

Estimación de tiempo

Load Data Using the Data Import Wizard

Learning Objectives

After completing this badge, you’ll be able to:

  • Use the drag-and-drop report builder to create new Travel Approval reports.
  • Create a new dashboard and add your reports as visual components.

Introduction

How great would it be to get a report in your inbox every morning that shows the number of open travel requests waiting on your approval? Or access a report that provides all the key information of your travel approvals across your departments and their status? And see that information displayed as a graphical chart via a dashboard from your desktop or a mobile device? Good news because that is all possible.

The Travel Approval app you created earlier includes Reports and Dashboard tabs, where you can begin to create, edit, run, and schedule reports or dashboards. 

Note

Before you work through this badge, you must complete these three badges:

The work you do here builds on the work you complete in those badges. Make sure to use the same Trailhead Playground for all the projects in this trail.

In this project, you use files you download earlier in this trail. If you need to download them again, they're available here: https://developer.salesforce.com/files/content/learn/projects/add-reports-and-dashboards-to-a-travel-approval-app/2022-12-22-TravelAppWorkshopFiles.zip.

Unzip or expand the files after downloading so you can access the individual files during the project.

Launch Your Trailhead Playground

You complete this hands-on project in your own personal Salesforce environment, called a Trailhead Playground. Get your Trailhead Playground now by first logging in to Trailhead, and then clicking Launch at the bottom of this page. Your playground opens in a new browser tab or window. Keep the playground window open while you do this project. After you complete the step-by-step instructions in your playground, and click Verify step at the bottom of this page.

Note: For the best experience, you must use the Trailhead Playground you created for Build a Data Model for a Travel Approval App.

Load Data

Start by loading sample Travel Approval records so your reports and dashboards have more data.

  1. Click Setup and select Setup.

Gear icon with Setup selected

  1. In Quick Find, search for and select Data Import Wizard

Setup with Data Import Wizard highlighted

  1. Select Launch Wizard!
  2. Select the Custom Objects tab and select the Travel Approval object. 

Data Import Wizard with Travel Approval object highlighted

  1. Select Add new records.

Data Import Wizard with Add new records highlighted.

  1. On the Add new record screen, enter these values.

Parameter

Value

Match By

None

Which User field in your file designates record owners?

None

Which Department field in your file do you want to match against to set the Department lookup field?

Department Name

Trigger workflow rules and processes for new and updated records.

Checked

Drag the TravelApprovals.csv file (from the folder you downloaded in Build a Data Model for a Travel Approval App to the Drag CSV file here to upload section.

  1. Select Next.
  2. Ensure the names in the CSV file are the same as your object. (These are automatically mapped.)
  3. Click Next.
  4. Click Start Import.
  5. Click OK.

You are taken to the bulk import summary window. This shows the process has completed (that is, Closed) and that 300 records have been successfully imported or processed. 

Bulk Data Load Jobs page

Great job! Your Travel Approval object is now populated with hundreds of records. In the next step, you display this data in a Salesforce report.

Comparta sus comentarios sobre Trailhead en la Ayuda de Salesforce.

Nos encantaría conocer su experiencia con Trailhead. Ahora puede acceder al nuevo formulario de comentarios cuando quiera desde el sitio de la Ayuda de Salesforce.

Más información Continuar para compartir comentarios