You need to sign in to do that
Don't have an account?
Malakondaiah
Can i make master detail field is readonly or hidden in edit page?
Hi,
Can i make master detail field is readonly or hidden in edit page not for the detail page?
Can i make master detail field is readonly or hidden in edit page not for the detail page?
It is not possible to hide the Master field on the Page layout because it’s a required field in a master detail relationship .
But there is an option called "allow reparenting" at field setup of the master-detail custom field on the child object.
If it is unchecked, once the child record is created, it can't be edited and you can make it read only.
Please follow the below images:
Please mark my answer as a solution if it is helpful.
Regards,
Akshay
All Answers
It is not possible to hide the Master field on the Page layout because it’s a required field in a master detail relationship .
But there is an option called "allow reparenting" at field setup of the master-detail custom field on the child object.
If it is unchecked, once the child record is created, it can't be edited and you can make it read only.
Please follow the below images:
Please mark my answer as a solution if it is helpful.
Regards,
Akshay
That was ok.
My requirement :
Can i make master detail relationship field is readonly or hidden in edit page of master object not for the detail page of child object?
opportunity should be readonly or hidden in edit page opportunity.
.
Thanks for selecting my answer as a best answer.
When there is master detail relationship, it will automatically make mandatory field in master object and you can't Hide or Read Only this is mandatory field in edit page.
Regards,
Akshay