(Standard and Custom Objects 14%) Describe the standard object architecture and relationship model Flashcards

1
Q

what are the two types of objects in salesforce?

A

standard and custom

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what are standard objects?

A

they are pre-built objects in salesforce giving the org an initial data model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

examples of standard objects are?

A

campaigns, leads, accounts, contacts, opportunities and cases

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what are custom objects

A

are those that an administrator creates and defines specifically for a use case

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what does both standard and custom objects come with?

A

standard fields but can be expanded with custom fields

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

can standard objects be hidden from a user?

A

yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

can a standard objects be deleted?

A

no never

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

can standard objects be renamed?

A

yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what are the main standard objects?

A

Account, Contact, Lead, Campaign, Opportunity, Case, Solution, User

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Types of object relationships

A

master-detail and lookup

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what is a master detail relationship?

A

-Tightly relates two objects through a parent-child relationship.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what is a lookup relationship.

A

-A loose relationship between objects

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

where can related records from look-up or master-detail relationships be seen?

A

related lists on page layout. related list on the parent record displays related child records

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

use of a lookup relationship

A

Links objects together so users can see related items from one object on another

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

what regular and special relationships can a lookup relationship have?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

what relationships can master detail relationship have?

A

-can be one-to-one, one-to-many, or many-to-many

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

self relationship

A

Lookup relationship to the same object. e.g an account connected to another account field

18
Q

external relationship

A

special lookup relationship where the parent is the external object

19
Q

indirect relationship

A

special indirect relationship where the child is the external object

20
Q

hierarchical relationship

A

special lookup relationship with a user object only

21
Q

what does a lookup relationship not inherit unlike a master-detail relationship?

A

sharing and security settings from another object

22
Q

what happens if a master record is deleted?

A

all of the detail records are deleted as well unless the “allow reparenting” setting is enabled.

23
Q

what does enabling allow reparenting setting do?

A

allows detail records to be associated with another master record when a master record is deleted

24
Q

what must be true for standard objects to have a relationship with a custom object?

A

The standard objects must be on the master side.

25
Q

Which is the master if a standard and custom object are related in a master-detail relationship?

A

the standard object will always be the master in a master detail relationship between a standard and custom object

26
Q

what relationship can create a roll-up summary?

A

master relationship only!

27
Q

what is a roll-up summary

A

master detail relationship where there’s a master and several child records. roll up summary updates the sum of the data and inputs it on a field depending on what the formula is. You can get the sum of numbers from all the child records, the minimum number, maximum number ect. it just combines that data and gives you one view on master record

28
Q

What do standard and custom objects become when combined?

A

become a part of a larger data model through relationships between the objects. those relationships can be tightly define through master detail or more loosely defined with a lookup relationship.

29
Q

when are relationships used in salesforce?

A

when there’s a need to relate records in an object with records in a different object.

30
Q

how can you customize a standard object?

A

create a relationship or add fields

31
Q

what does parent mean?

A

the record the user is looking up. The one with the most records.

32
Q

what does child mean?

A

The object that has a lookup field that refers to data from the parent

33
Q

which relationship can have a many to many relationship?

A

master-detail

34
Q

what are the security setting of a child object in a master detail relationship?

A

child object inherits the sharing and security settings of the parents object and has no settings of its own

35
Q

what are the security settings of a child object in a lookup relationship?

A

Do not inherit the sharing and security settings from another object unlike- master detail. As a consequence of not having to manually relate an object to another.

36
Q

how are many-to-many relationships implemented?

A

with the use of a junction object, which sits between 2 other objects and has a master detail relationship with both

37
Q

if you have a relationship with a custom and standard object which one is on the master side?

A

the standard object

38
Q

can a standard object ever be on the detail side?

A

no! never! ever!

39
Q

how many total relationships can you have on one object?

A

40

40
Q

how many master detail relationships can you have in one object?

A

2

41
Q

how many lookup relationships can you have on a object?

A

40 *max total

42
Q

which side will the foreign key land on in a object relationship

A

on the many side of a many - one