You need to sign in to do that
Don't have an account?
Howard Iken
Create VF inline related list
I have a related list that I based a VF page on - so I could insert it near the top of a detail screen instead of down below with the related lists.
I just discovered a trick to create a duplicate related list that I can filter. But now I cannot figure out how to get that duplicate related list rendered in a VF page (like the first one)
Here is the code on the VF page that works:
<apex:page standardController="advpm__Matter__c" title="Matter: {!advpm__Matter__c.Name}" id="pg">
<apex:relatedList list="Cash Receipts__r"/>
</apex:page>
My duplicate (filtered) related list is called: Cash Receipts (Active lookup)
No matter what name I plug into <apex:relatedList list="Cash Receipts__r"/>
I cannot get this VF page to display.
I just discovered a trick to create a duplicate related list that I can filter. But now I cannot figure out how to get that duplicate related list rendered in a VF page (like the first one)
Here is the code on the VF page that works:
<apex:page standardController="advpm__Matter__c" title="Matter: {!advpm__Matter__c.Name}" id="pg">
<apex:relatedList list="Cash Receipts__r"/>
</apex:page>
My duplicate (filtered) related list is called: Cash Receipts (Active lookup)
No matter what name I plug into <apex:relatedList list="Cash Receipts__r"/>
I cannot get this VF page to display.
You have to add your VF page containing a Related list to the Object PageLayout and Object should be advpm__Matter__c.
How To add Visualforce Page on the page layout. check the below link.
let em know if this works for you.
Thanks
Lokesh