I have two objects whose parent is another object. I want to set two different page layout on the parent just by differentiating the record type. How do i do it?
If you are looking to specify the page layout of an object based on the RecordType of that object per profile - this is done in the org setup.
To specify record types and page layout assignments:
- From Setup, click Manage Users | Profiles.
- Select a profile.
- In the Find Settings... box, enter the name of the object you want and select it from the list.
- Click Edit.
- In the Record Types and Page Layout Assignments section, make changes to the settings as needed.