InterviewSolution
| 1. |
What Are The Different Types Of Object Relations In Salesforce? How Can You Create Them? |
|
Answer» No list of Salesforce interview questions is complete without involving RELATIONSHIPS between objects in Salesforce. Relationships in Salesforce can be used to establish links between two or more objects. The different types of object relationships in Salesforce are: MASTER-Detail Relationship (1:n):-
Lookup Relationship (1:n):-
Junction Relationship (Many-To-Many):- This kind of a relationship can exist when there is a need to create two master-detail relationships. Two master-detail relationships can be created by linking 3 custom objects. Here, two objects will be master objects and the third object will be dependent on both the objects. In simpler words, it will be a child object for both the master objects. No list of Salesforce interview questions is complete without involving relationships between objects in Salesforce. Relationships in Salesforce can be used to establish links between two or more objects. The different types of object relationships in Salesforce are: Master-Detail Relationship (1:n):- Lookup Relationship (1:n):- Junction Relationship (Many-To-Many):- This kind of a relationship can exist when there is a need to create two master-detail relationships. Two master-detail relationships can be created by linking 3 custom objects. Here, two objects will be master objects and the third object will be dependent on both the objects. In simpler words, it will be a child object for both the master objects. |
|