There are two benefits to this method:
- Visualforce Pages dragged to a Page Layout must have a fixed height defined. For a related list, this isn’t as big of a deal as long as you are willing to display a set number of records and have a link to view more. You might get some vertical whitespace when you don’t have any records.
- This solution can be as tall as you want.
- The related list is going to have to go somewhere in the Page Layout’s field sections. The lowest you can make it is right after the bottom section of action buttons, right above the first related list.
- This solution will go at the bottom of the Page.
For additional help, below is some sample source code for this solution:
Results
I ended up going with the custom built table and replacing the standard Contact View with a Visualforce page. I felt that in this scenario, putting the related list at the bottom and having the flexibility of dynamic height was worthwhile.
You May Also Enjoy
Identifying conflicts with package folders during a Salesforce DX migration.
Debugging a Lightning Component error when using Integers as server-side parameters.
Easy to remember query to identify duplicate data in a field.
Recapping my Dreamforce 16 session and providing resources.