(Standard and Custom Objects 14%) Describe the standard object architecture and relationship model Flashcards
(42 cards)
what are the two types of objects in salesforce?
standard and custom
what are standard objects?
they are pre-built objects in salesforce giving the org an initial data model
examples of standard objects are?
campaigns, leads, accounts, contacts, opportunities and cases
what are custom objects
are those that an administrator creates and defines specifically for a use case
what does both standard and custom objects come with?
standard fields but can be expanded with custom fields
can standard objects be hidden from a user?
yes
can a standard objects be deleted?
no never
can standard objects be renamed?
yes
what are the main standard objects?
Account, Contact, Lead, Campaign, Opportunity, Case, Solution, User
Types of object relationships
master-detail and lookup
what is a master detail relationship?
-Tightly relates two objects through a parent-child relationship.
what is a lookup relationship.
-A loose relationship between objects
where can related records from look-up or master-detail relationships be seen?
related lists on page layout. related list on the parent record displays related child records
use of a lookup relationship
Links objects together so users can see related items from one object on another
what regular and special relationships can a lookup relationship have?
-can be one-to-one, one-to-many, self, external(external object is the parent), indirect( external object is the child), or hierarchical ( only for user object, allows for a lookup relationship between two users for a custom hierarchy that allows you to point to the next higher up)
what relationships can master detail relationship have?
-can be one-to-one, one-to-many, or many-to-many
self relationship
Lookup relationship to the same object. e.g an account connected to another account field
external relationship
special lookup relationship where the parent is the external object
indirect relationship
special indirect relationship where the child is the external object
hierarchical relationship
special lookup relationship with a user object only
what does a lookup relationship not inherit unlike a master-detail relationship?
sharing and security settings from another object
what happens if a master record is deleted?
all of the detail records are deleted as well unless the “allow reparenting” setting is enabled.
what does enabling allow reparenting setting do?
allows detail records to be associated with another master record when a master record is deleted
what must be true for standard objects to have a relationship with a custom object?
The standard objects must be on the master side.