Salesforce Master-Detail Relationship

0 votes

2

I have two objects: House and Owner

Owner has a field "ID", House has a field "Owner_ID", how do I link "Owner_ID" to the "ID" field in Owner using a Master-Detail relationship in the Salesforce under schema builder?

When I create a new M-D relationship in House, It doesn't have a selection box to let me set which field does a M-D relationship refer to in Owner. It defaulted to the "Owner Name" field. (ie. when I insert a new House, I can search for the owner by "Owner Name", but cannot search for the owner by "ID")

Mar 30, 2022 in SalesForce by surbhi
• 3,810 points
662 views

1 answer to this question.

0 votes

You can't modify the Master Detail relationship's link to the parent record's ID field. However, the UI relies on names for user convenience, which is why you won't be able to search by ID there.

Hope this helps!

Enroll for the Salesforce training here and become certified.

Thanks!

answered Apr 1, 2022 by CoolCoder
• 4,400 points

edited Jun 27, 2023 by Khan Sarfaraz

Related Questions In SalesForce

0 votes
1 answer

What is lookup relationship in SalesForce?

In Salesforce, a lookup relationship is a ...READ MORE

answered Feb 2 in SalesForce by Jeremy
117 views
0 votes
0 answers

what is relationship in salesforce ?

Feb 19 in SalesForce by Evanjalin
• 360 points
55 views
0 votes
0 answers

Salesforce Apex SingleEmailMessage with Template to User not contact

Im trying to send an email in ...READ MORE

Feb 28, 2022 in SalesForce by surbhi
• 3,810 points
2,796 views
0 votes
1 answer

Cannot login to Salesforce Sandbox via python API

Set domain='test' and generate a new token ...READ MORE

answered Mar 1, 2022 in SalesForce by CoolCoder
• 4,400 points
1,415 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,755 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,030 points
735 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,030 points
483 views
0 votes
2 answers

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

Hi @Vardhan, I took Edureka's Salesforce Online Training, ...READ MORE

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

edited Dec 22, 2021 by Soumya 540 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,400 points
1,029 views
0 votes
2 answers

Creating Many to Many relationship between the accounts records in salesforce

In Salesforce, it is not possible to ...READ MORE

answered Jun 19, 2023 in SalesForce by Khan Sarfaraz
• 700 points
908 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