Data Management Flashcards
What are Record IDs in Salesforce?
Every record within Salesforce is assigned a record ID when created. This ID is unique throughout your Salesforce org, and is referenced frequently when performing operations using existing Salesforce data.
Describe the two version types of Record IDs in Salesforce.
There are two versions of the ID:
- The 15 character ID (case sensitive), which is displayed in the user interface.
- The 18 character ID, which is returned via the API by default. The 18 character ID is a combination of the 15 character ID with 3 characters added to ensure that it is unique on a case insensitive basis (this is to support legacy applications).
What function should you use to derive the 18 digit ID within a formula field in Salesforce?
CASESAFEID
Deleted Items Retention and eventual Purging.
Deleted records remain in the recycle bin for 15 days, and can be restored during that time. To permanently remove your deleted items before the 15-day period, administrators and users with the “Modify All Data” permission, can click Empty your Recycle Bin or Empty your organization’s Recycle Bin. After 15 days, deleted items are purged from the recycle bin, and once purged, they can’t be recovered.
What are the two Import Wizards available in Salesforce.
Import Accounts & Contacts
Data Import Wizard
Describe the Import Accounts & Contacts Wizard.
This wizard is specifically designed to accept pre-formatted data from common contact data sources (Outlook, Gmail, LinkedIn, etc.).
Up to 50,000 records can be imported each session.
Available to Admins and Users.
Catches Duplicates
Option to turn off Workflow
Does NOT Export Data
Does NOT Import Opportunities
Describe the Data Import Wizard in Salesforce.
This is a general-use wizard and can import records into the following objects:
Accounts, Contacts, Leads, Solutions, Custom Objects
Use for more than 50K records.
Does NOT catch duplicates.
Workflow MUST be turned off.
Exports Data
Imports Opportunities
Can only import one object at a time.
Has Data Mapping Setup
Recognizes ONLY one field for the street address (Add 1 and Add 2 must be combined in source).
Matches on Record Ids ONLY.
Workflow will fire, need to turn off the Workflow if you don’t want the Workflows to execute.
What is Upserting in the Data Loader?
Updating existing records and creating new records.
What does Export All in Data Loader mean?
Exports all data, including Recycle Bin and Soft Deleted data.
What are the 3 Steps to Complete Before Importing Data?
- Clean Your Data = Accurate, Usable. Credible Data
Impacts Adoption of System by users if data is dirty.
Delete Duplicate Records
Correct Spelling and Punctuation
Enforce Naming Conventions
Fill In Incomplete Records - Prepare Your IMport File
Match Field Names (Export Data and match columns)
Add columns for Record Owner (if you should not be listed as the owner).
Add a Column for the Parent Record (Loader Only) - Prepare Salesforce
Create Custom Fields where Needed
Add Picklist Values
Create External IDs
What is the difference between the Wizards and the Data Loader?
The Data Loader is a desktop tool that uses the API to interact with Salesforce data. Your computer is requesting and making the changes to Salesforce data, whereas when using the import wizards you upload a file and it is then processed server-side by Salesforce.
You need the API in order to use the Data Loader (typically Enterprise Edition or higher, or a cost for lower editions).
The wizards offer options that are not available via the Data Loader (e.g. disable workflow rules when loading data — workflow rules will always be triggered by the Data Loader).
The permissions are different. Access to the wizards are driven by specific permissions (e.g. ‘Import Personal Contacts’ and ‘Import Leads’ permissions on profile/permission set), while Data Loader permissions are driven by the global ‘API Enabled’ permission on profile/permission set.
The import wizards can load files with up to 50,000 records per job. Transfer wizards can transfer up to 250 records at a time. The Data Loader, however, can process up to 5 million records per job. Therefore, if you need to process large volumes of data (e.g. create 250k accounts or transfer 10k accounts), use the Data Loader.
An administrator can save mapping using the Data Loader and even schedule jobs on a local server.
Describe the capabilities of other data manipulation wizards.
Tools exist to mass transfer records, mass delete records, mass transfer approval requests, and mass update addresses. Not all tools can be used with all objects.
Describe the capabilities of the Data Loader.
The Data Loader is used to manipulate Salesforce data via the API, and can load up to 5 million records per job.
It can also be run from command line (this allows Data Loader jobs to be scheduled on servers).
Explain when to use an import wizard or the data loader.
Import wizards can import a maximum of 50,000 records per job. Transfer wizards can manipulate 250 records at a time. Use the Data Loader if you want to process jobs that are larger than the previously cited limitations.
Explain how to use the upsert function of the Data Loader in conjunction with an external ID field.
Upsert can be used in conjunction with external IDs to keep relationships from data within external systems intact when importing or manipulating data in Salesforce.