function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ankit Arora 29Ankit Arora 29 

object relationships

Hello Everyone,

I have two Objects, one is Contact and other is Project. I want to link contact and project. As we know there are so many people work on one project and also 1 person works on multiple projects.
So i want to create many to many relationship.
for example I am working on a project "XYZ" and I am project manager and there are so many contacts working on same project like team members and we all are part of contact object.
Also, I am and other team members are also working on other projects like "XYZ", "UVW" etc and these project are part of project object.
so how to make relationship like this. Please I need help. Thank you so much.
Steven NsubugaSteven Nsubuga
Create a Junction object. A Junction object is one that has 2 Master Detail relationships. You can call it Project Contact, and it would have a Master Detail relationship to Project, and another Master Detail relationship to Contact.
Ajay K DubediAjay K Dubedi
Hi Ankit,

For this you have to create the junction object which will be having the Look Up of Contact and Project in it for many to many relationship. 

Please mark this as Best Answer if you find this solution helpful.

Thank You
Ajay Dubedi