Activity Forums Salesforce® Discussions How to create Many-to-Many Relationship in Salesforce?

  • shariq

    Member
    September 24, 2018 at 4:24 am

    In salesforce, Junction Object are the part of the objects which joins one object to another. These are specially used to join many objects in Many to Many relationships.

  • Parul

    Member
    September 28, 2018 at 9:38 pm

    Junction Object is a custom object with two master-detail relationships. Using a custom junction object, you can model a “many-to-many” relationship between two objects. For example, you create a custom object called “Bug” that relates to the standard case object such that a bug could be related to multiple cases and a case could also be related to multiple bugs.
    By using Junction Object we can achieve this relationship, here junction object is having Master- Detail Relationship with different objects (Ex.Students & Courses). Using this Master to Detail Relationship, we can create the Many-to-Many Relationship in between the objects.

  • Avnish Yadav

    Member
    September 30, 2018 at 1:20 am

    Hi,

    Creating the many-to-many relationship consists of:

    Creating the junction object.
    Creating the two master-detail relationships.
    Customizing the related lists on the page layouts of the two master objects.
    Customizing reports to maximize the effectiveness of the many-to-many relationship.

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos