I am trying to create a standard clone button type functionality for a custom object which has a master detail relationship with Account and lookup with Contact. On click on the custom button a vf page is loaded. In this vf page can we make the Account field as editable? Right now its coming as read only.

Thanks in advance.

  • Sharing setting for this Account field is : Read/Write: Allows users with at least Read/Write access to the Master record to create, edit, or delete related Detail records.
    – SFDC_MJ
    Aug 18, 2014 at 7:00
  • Are you using <apex:inputfield> on VF page? Aug 18, 2014 at 7:02

1 Answer 1


I got the solution. On the field we have this option Reparentable Master Detail. That needs to be checked. And then with the help of field sets the field can be displayed in editable mode on the VF page.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .