Episode 2 – Model your Salesforce Data

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:-

  1. Salesforce Objects are like DB tables
  2. We use them to store persistent data
  3. 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 objectsAre 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 CustomizationFully 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


3,303 total views, 10 views today

8 thoughts on “Episode 2 – Model your Salesforce Data”

  1. 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

    Reply

Leave a Comment