• Andreas Wolf 3
  • 0 Points
  • Member since 2014

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 1

We have one master object which has 6 master-detail children objects. As I know there is no way to make master-detail field read only in creating new children page. So I want to code my own dynamic page which can be used for all children objects.  My plan is
1. Create a vf page, this page has to be dynamic generated, based on which object be passed in parameter.
2. create a custom button for every children object and pass the parentid and children object name to this vf page.

Is this possible? is there any sample code that I could reference?