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 in SalesForce by surbhi
• 3,810 points
52 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.
answered Apr 1 by CoolCoder
• 4,360 points

Related Questions In SalesForce

0 votes
0 answers

Salesforce Apex SingleEmailMessage with Template to User not contact

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

Feb 28 in SalesForce by surbhi
• 3,810 points
362 views
0 votes
0 answers

Cannot login to Salesforce Sandbox via python API

I am using the python3.7.2 module simple-salesforce==0.74.2 and I ...READ MORE

Mar 1 in SalesForce by surbhi
• 3,810 points
152 views
0 votes
0 answers

Salesforce Test Class - System.NullPointerException: Attempt to de-reference a null object

Salesforce Test Class - Facing - System.NullPointerException: ...READ MORE

Mar 1 in SalesForce by surbhi
• 3,810 points
375 views
0 votes
0 answers

How to take test.salesforce.com while deployment as salesforce login url for api connection logic app?

In logic app i'm using salesforce connector after deployment ...READ MORE

Mar 1 in SalesForce by surbhi
• 3,810 points
139 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
1,857 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,010 points
301 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,010 points
181 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 213 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 in SalesForce by CoolCoder
• 4,360 points
108 views
0 votes
1 answer

Creating Many to Many relationship between the accounts records in salesforce

In Salesforce, you'll need a joiner object ...READ MORE

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