function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
salesforcequestions123salesforcequestions123 

Custom Filter search criteria

Hi All

 

I am trying to build a custom filter search criteria using apex and visualforce page.I doubt there is a standard logic for this functionality.

Can any one give me an advice whether there is a standard code for this filter criteria

 

 

by filter criteria i mean the filter criteria that appears when we create a new view for objects

 

prakash_sfdcprakash_sfdc
Hi,

with the help of StandardSetController you can access the filters via filter id

http://www.salesforce.com/us/developer/docs/pages/Content/apex_pages_standardsetcontroller.htm
salesforcequestions123salesforcequestions123
Hi

are you sure that using the standard set controller we can build custom search criteria

like


fieldname operator value

see when i give the field name how can i change the value to a picklist if the field is picklist how can i achieve that