+ Start a Discussion
hal9001hal9001 

visualforce page (PageBlockTable) as related list?

Is it possible to use a visualforce page (with PageBlockTable) as a related list on a standard custom object page? If so, how? Are there any examples? Any other suggestions?

 

Why?

I'm using a vf page and custom controller to summarize data that is related (detail) to a custom object (parent).  The summarized data comes from a hierarchy of other custom objects.  The summary can have multiple rows and the key for each of the rows is dynamic, so I don't think using a custom formula field would satisfy the requirement.

 

Thanks!

Best Answer chosen by Admin (Salesforce Developers) 
Starz26Starz26

Not a related list in the technical sense,

 

but you can embed a VF page into the layout of a standard page.

All Answers

Starz26Starz26

Not a related list in the technical sense,

 

but you can embed a VF page into the layout of a standard page.

This was selected as the best answer
hal9001hal9001

Great! But how? I looked in the Visualforce Developer's Guide and I don't see any examples of that.

hal9001hal9001

I figured it out.  I created a controller extension and set the vf page to use the object standard controller plus the custom extension.  Then, the vf page showed up in Edit Layout.