Download presentation
Presentation is loading. Please wait.
Published byOsborne Wilcox Modified over 5 years ago
1
Design and Create Objects to Store Data Chapter 2
Intro to MIS - MGS351 Design and Create Objects to Store Data Chapter 2
2
Databases and Decision Making Designing Database Tables Primary Keys
Chapter Overview Databases and Decision Making Designing Database Tables Primary Keys Creating Objects in Salesforce Field Data Types and Properties
3
GIGO – Garbage In, Garbage Out
Databases and Decision Making Input (Data) Process Output (Information) Input in Page Layouts Handled by Queries Output to Reports Stored in Objects and List Views Supports Decision Making GIGO – Garbage In, Garbage Out
4
Your tables are the foundation of the entire database.
Designing Database Tables Database design is critically important to the success of an information system. Your tables are the foundation of the entire database.
5
Designing Database Tables
Include the necessary data Determined by reporting needs Store data in its smallest parts Split last and first names Avoid storing calculated data (GPA) What about age versus birthdate? Avoid data redundancy
6
Primary Keys A field or combination of fields that uniquely identifies records in a table. Use an existing field Use a combination of fields (concatenated key) Create a new field using the Auto Number data type
7
Object Manager configures objects.
Objects (Tables) Store the data in a database – similar to a spreadsheet, but more organized. Contains records (rows) and fields (columns). Standard Objects - Contacts, Leads Opportunities, Accounts and many more Custom Objects Object Manager configures objects.
8
Salesforce Setup Menu - Object Manager
9
API name always includes “__c” suffix Contains three default fields
Custom Objects API name always includes “__c” suffix Broker object has Broker__c API name Contains three default fields Created By Last Modified By Owner
10
Auto Number Number Formula Percent Checkbox Phone Currency
Field Data Types Auto Number Formula Checkbox Currency Date Date / Time Geolocation Number Percent Phone Picklist (multi) Text Textarea (long/rich) Time URL
11
Field Data Types (cont.)
Lookup Relationship Master-Detail Relationship External Lookup Relationship
12
These help to prevent GIGO
Field Properties Field Label Length Description Help Text Validation Rule Required Unique Default Value These help to prevent GIGO
13
Questions & Requested Updates from HR Users
Bad data appears in AssessmentScore Need address of every applicant Want option to store 9 digit zip code CID value occasionally skips numbers Need to track the HR employee assigned to each candidate Data entry and editing is not user-friendly
14
What does GIGO stand for? a. Gee, I Goofed, OK
Quick Review What does GIGO stand for? a. Gee, I Goofed, OK b. Grand Illusions, Go On c. Global Indexing, Global Order d. Garbage In, Garbage Out
15
Which of the following is true of the primary key?
Quick Review Which of the following is true of the primary key? a. Its values must be unique b. It must be defined as a text field c. It must be first in a table d. It can never be changed
16
Quick Review The______ is a field, or combination of fields, that uniquely identifies a record.
17
Homework 2 | 3000 Trailhead Points
Homework 2 Trailmix Lightning Experience Customization Customize the User Interface for a Recruiting App
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.