Introductions are fun and this time around we will be scratching the surface a little more to understand how data can be modeled on Salesforce. In this session we will learn about difference between Standard and Custom Object, Different data type in Salesforce and Lookup vs Master Details relationship.
Agenda
- Conventional Database Tables Vs Objects
- Standard and Custom Objects
- Datatypes
- Relational Data Modelling
- Schema Builder
- Q & A
Here is some key point of our session.
What are Objects in Salesforce:-
- Salesforce Objects are like DB tables
- We use them to store persistent data
- It has additional properties and features
Standard VS Custom objects
Standard Objects | Custom objects |
Standard Objects are out of box: The objects provided by Salesforce is called standard objects | Are user defined : The objects created by us are called custom objects |
API names of standard objects does not ends with __c | API names of custom objects ends with __c |
Limited Customization | Fully Customizable |
Example of standard object are Account, Contact & User | Example of custom object name is Employee__C or Department__c |
Lookup VS Master detail
Master Detail | Lookup |
This is parent-child relationship | This links two objects together |
Detail object is deleted when Parent is deleted | No effect on linked records |
Parent can have Roll-Up Summary fields | Roll-Up Summary field are not available on lookups |
Detail record must have Master record reference | Reference to linked record is optional |
The detail record inherits the sharing and security settings of its master record. | Both linked records have independent sharing and security settings |
Here is recording of session.
Episode 2 was presented by Atul Rajguru on Aug 2, 2019 at 7 PM Indian Standard Time.
Further Reading
Please try below Trailhead module for further learning :-
Here is playlist link for all recording. Please check Episode 3 to learn about “Customizing the User Interface” .
Thanks,
Salesforce Apex Hours
Hi do I need to register for each episode or session individually?
Attendees need to register for each occurrence to attend
Get going with Trailhead!
https://trailhead.salesforce.com/content/learn/modules/data_modeling
https://trailhead.salesforce.com/content/learn/modules/point_click_business_logic
Sorry About Wrong number on PPT. Here is updated limit for master detail and lookup in salesforce.
NOTE: Master-Detail Relationship Fields, per Object (Standard or Custom) –> 2
Total Relationship Fields (Master-Detail + Lookup), per Object (Standard or Custom) –> 40
i have missed section 2,3,4 so what can i do
i have missed my 2nd session ,so can i get it ,
Here is recording of session 2
There are total of 40 Relationship on each object max 2 MD and 38 lookup relationships.