Creating Many to Many relationship between the accounts records in salesforce

0 votes
Is there a method to link one account record to multiple additional account records in Salesforce using a many-to-many relationship format? We can't construct many-to-many relationships with the same object type in Salesforce, therefore this isn't doable the traditional method. Could someone please offer a special method or code to accomplish this? I have a need to link Account A with Account B and Account C, for example, so that I may access Account B and C's contacts on Account A.
Mar 10, 2022 in SalesForce by surbhi
• 3,810 points
246 views

1 answer to this question.

0 votes
In Salesforce, you'll need a joiner object with two master-details to account for a many-many relationship (There is actually already a standard object called Partner that may fit your needs).

It's definitely easier to construct a simple visualforce page that queries and displays the contacts of connected accounts to see the contacts of associated accounts.
answered Mar 17, 2022 by CoolCoder
• 4,360 points

Related Questions In SalesForce

0 votes
0 answers

How to find the difference between sandbox and production in salesforce

I have some action that if I ...READ MORE

Mar 30, 2022 in SalesForce by surbhi
• 3,810 points
166 views
0 votes
1 answer

In Salesforce what is the difference between Page Layouts and Visual force Pages?

A built-in standard mechanism for displaying information ...READ MORE

answered Mar 9, 2022 in SalesForce by CoolCoder
• 4,360 points
263 views
0 votes
1 answer

In Salesforce Whats the difference between Page Layouts and Visual force Pages?

A built-in standard mechanism for displaying information ...READ MORE

answered Mar 9, 2022 in SalesForce by CoolCoder
• 4,360 points
132 views
0 votes
1 answer

What is the difference between Queues and team selling in salesforce?

Because they're used for entirely different purposes. "Unassigned ...READ MORE

answered Mar 15, 2022 in SalesForce by CoolCoder
• 4,360 points
230 views
+2 votes
2 answers

Salesforce Interview questions

Here are some questions very important for ...READ MORE

answered Jan 11, 2019 in Career Counselling by Suresh
• 720 points
2,192 views
0 votes
1 answer

How to connect to salesforce from tableau?

Hi, follow these steps to connect to Salesforce: 1. ...READ MORE

answered Mar 25, 2019 in Tableau by Cherukuri
• 33,050 points
418 views
0 votes
1 answer

Power BI - Salesforce

Hi, Follow below steps: 1. Go to Data source. 2. ...READ MORE

answered Mar 25, 2019 in Power BI by Cherukuri
• 33,050 points
293 views
0 votes
1 answer

What is the best training for Salesforce ADM-201 Exam?

Hi @Vardhan, I took Edureka's Salesforce Training that covers all ...READ MORE

answered Jun 3, 2021 in Others by Jaya
• 140 points

edited Dec 22, 2021 by Soumya 318 views
0 votes
1 answer

Trigger to Count records in self relationship salesforce

You should only use triggers if you ...READ MORE

answered Mar 9, 2022 in SalesForce by CoolCoder
• 4,360 points
637 views
0 votes
1 answer

how to find the difference between sandbox and production in salesforce

It could be a validation rule or ...READ MORE

answered Apr 1, 2022 in SalesForce by CoolCoder
• 4,360 points
577 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP