+ Start a Discussion
uat_live1.3903047664538198E12uat_live1.3903047664538198E12 

Filter a Standard Object ListView With a Field Value

Hi All,

We need to filter a standard listview based on a field value.

Could someone please let us know how to acomplish this.

Thanks and Regards,
Christwin
 
Gaurav KheterpalGaurav Kheterpal
There are a couple of ways of doing this.

A) Using StandardSetController
B) Using Metadata API and then rolling up your own SOQL query.

You can follow this detailed post (http://salesforce.stackexchange.com/questions/3561/standardsetcontroller-list-instatiation-and-setfilterid/3604#3604) for more details.

I hope this helps.
Sai Ram ASai Ram A
Hi

You can achieve this by Editing List views, Please see the ScreenShot
Follow link https://help.salesforce.com/HTViewHelpDoc?id=customviews.htm
User-added image

Hope this Helps!!

Thank you
BLearn
SF AdminSF Admin

Check this: https://help.salesforce.com/HTViewHelpDoc?id=customviews.htm
go to list page> click create new view >add your filter criteria> save. 

You are done.

uat_live1.3903047664538198E12uat_live1.3903047664538198E12
Thank you very much for your reply.

I Come to list view from a Page clicking on a link.I pass the ID of a Lookup Field in the Object.I want to Have a list of all the records which have the lookup to the ID passes.Since it is a standard List View I am only able to Filter List "Event ,Equals and then the Value Should the ID passed in the URL.

Gaurav Kheterpal can we use codes to filter in the standard list view.Is there a way to do that 

Thasks Again,
Christwin