Object Manager and Lightning App Builder Flashcards
20%
How can you change Standard Objects?
They may be hidden from users and renamed, but never deleted.
What are Custom Objects?
Objects created by the administrator to meet a specific use case.
What are the Standard Objects that are included with a Salesforce organization out-of-the-box?
- Account (store info about companies & individuals)
- Contact (individual associated with an account)
- Lead (prospect that can be converted into an account, contact, and opportunity)
- Campaign (stores info about a marketing effort such as a seminar)
- Opportunity (open & close deals as well as track sales deals in progress)
- Case (customer questions, feedback, issues)
- Solution (description of a customer issue & resolution)
- User (allows a person to log in to Salesforce & access info)
What are the two main types of relationship that can be created between two objects?
Master-detail (tightly relates two objects through a parent-child relationship, one-to-one, one-to-many, or many-to-many)
Lookup (loose relationship that links objects together, one-to-one, one-to-many, self, external, indirect, or hierarchical)
What relationship does the Account object have with the Contact, Opportunity, and Case objects?
Parent-child lookup relationship - a lookup relationship with some characteristics of a master-detail relationship.
How many Contacts, Opportunities, and/or Cases can an Account be related to?
An Account can be related to one or many Contacts, Opportunities, and/or Cases.
How many Accounts can an Opportunity be related to?
Only one.
How many Accounts can a Case be related to?
Only one.
How many Accounts can a Contact be related to?
One or many Accounts if “Contact to Multiple Accounts” setting is enabled.
What’s the relationship between Contacts & Cases? How many can be related to each other?
A Contact has a lookup relationship to a Case.
A Case can be related to one Contact, and a Contact can be related to many cases.
What objects can a Lead be converted into?
Account, Contact, and optionally Opportunity
What objects can a Campaign Member be related to?
A Lead or a Contact
What is Schema Builder used for?
To view the data model and create objects, fields, and relationships quickly.
Where can related records from a lookup or master-detail relationship be seen?
On related lists on the page layout.
What is the difference between lookup relationships and master-detail relationships where sharing & security is concerned?
Lookup relationshps do not inherit the sharing and security settings from another object, unlike master-detail relationships, where this is the case.
What are hierarchical relationships and where are they available?
They allow users to click a lookup icon on a field and select another user from a popup list; they’re available only on the User object.
What is a Self Relationship?
A lookup to the same object, e.g., an Account with a lookup to another Account field.
What is required for a child lookup to exist (the object with the lookup)? What’s the logical implication there?
The parent must exist (the record the user is looking up); e.g. if there are Expense Report and Expense Line Item objects, the expense line items only exist when there’s an expense report to link them to.
If a master record is deleted, all detail records are deleted as well unless the Allow Reparenting setting is enabled that allows detail records to be associated with another master record when a master record is deleted.
What sharing & security settings do child objects have?
None. They inherit the sharing and security settings of the parent object and have no settings of their own.
Can Standard objects be master or detail or both (when relating to a custom object)?
Standard objects must be on the master side of the relationship with a custom object.
Can Custom objects be master or detail or both?
Both, when between custom objects. They can only be detail records when relating to a Standard object.
What are many-to-many relationships? How do they work? Give an example.
They allow two objects to related to each other when a record from one object can be linked to multiple records from another object and vice versa.
They work using a junction object, which sits between the other two objects and has a master-detail relationship with both.
e.g. If there’s a Position object and a Candidate object, one position can be related to multiple candidates and a candidate can be related to multiple positions.
What can record types in Salesforce be used to do?
- Display picklist values (different values can be displayed for the same field depending on record type)
- Display page layouts (different fields can be displayed based on combo of record type & user profile)
- Support business processes
What are the two types of record type?
Master (system created)
Custom (manually created)
Where is record type access defined?
At the Profile level or through Permission Sets, or a combo of both
What are the two options when assigning record types to a profile?
- Master record type only (no custom record types)
- Multiple custom record types (not the Master record type)
What record types can be given access to via permission sets?
Custom record types only
What controls record creation and editing of specific record types?
Record type access
Users can view records of any type, as long as…
… they have access to the object.
What specifies which record types a user can use when creating or editing records?
Record type assignment
Any user can view records with that record type, even if it is not assigned to them.
What impact to users’ sharing settings does record type assignment have?
None!
What is record type assignment meant to be used as?
A way to improve data quality and avoid the unnecessary creation of multiple custom objects that serve similar purposes.
When would you create a lookup relationship?
When objects are only related in some cases. For example, sometimes a Contact is associated with a specific Account, but sometimes it’s just a Contact.
When you’re creating a master-detail relationship, where do you create the relationship field?
On the detail object.