What are the different types of object relations in salesforce? How can you create them?

Answer

 

No listing of salesforce interview questions is complete without concerning relationships among gadgets in salesforce. Relationships in salesforce may be used to establish hyperlinks between or extra items.

 

The distinct styles of object relationships in salesforce are:

 

Grasp-element dating (1:n):- it is a determine-toddler relationship wherein the grasp object controls the behavior of the established child item. It is a 1:n relationship, wherein there may be best one figure, however many children.The primary idea you want to be know is that, being the controlling object, the master subject can not be empty. If a file/ subject in grasp item is deleted, the corresponding fields within the structured object also are deleted. That is referred to as a cascade delete. Based fields will inherit the proprietor, sharing and security settings from its grasp.You could outline grasp-element relationships among two custom items, or among a custom item and popular item so long as the usual item is the master within the dating.
Lookup dating (1:n):-
Research relationships are used whilst you need to create a hyperlink between items, however without the dependency on the determine item. Similar to grasp-detail relationship, you may think about this as a shape of determine-child relationship in which there's most effective one discern, however many kids i.E. 1:n dating.The distinction right here is that despite being controlling field, deleting a file will no longer bring about computerized deletion of the lookup discipline inside the baby item. Accordingly the information in the child item will not be affected and there's no cascade delete here. Neither will the kid fields inherit the owner, sharing or safety settings of its parent.
Junction dating (many-to-many):-
This form of a dating can exist when there may be a want to create two grasp-element relationships. Two grasp-detail relationships can be created via linking three custom objects. Here, two items can be master objects and the third object will be depending on each the objects. In less complicated phrases, it is going to be a infant item for each the master objects.

 

All salesforce Questions

Ask your interview questions on salesforce

Write Your comment or Questions if you want the answers on salesforce from salesforce Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---