You need to sign in to do that
Don't have an account?
Filtering a related list
I have created a Visualforce Page to mimic a related list for a custom object (Properties). The purpose is to add a filter to filter out properties with a status (Status__c) = "Active". To this point, I have been able to mimic the related list section of the Account object using this code:
<apex:page sidebar="false" showHeader="true" StandardController="Account">
<apex:relatedList list="Properties_Operated__r">
</apex:relatedList>
</apex:page>
I have been able to add the Visualforce page as a section of the page layout; it looks good and functions perfectly. I am now trying to add the code to filter by Status__c = "Active". So far, my attempts have been unsuccessful. Could someone advise as to the proper coding to use? Thank you. <apex:relatedList list="Properties_Operated__r">
</apex:relatedList>
</apex:page>
All Answers
Please go through the below link which is almost similar to your requirement:
https://douglascayers.wordpress.com/2015/11/18/salesforce-filter-related-lists-without-code/
Do let me know if it helped you.Or else will help out looking for other solutions as well.
Rgrds,
Rabi
Full disclosure, I work for Passage Technology - the makers of Lookup Helper.