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
BdoggBdogg 

Search for products with characteristics (Fields)

Hi we have an object that has all of our products, in that object the product has characteristics... IE: Extended Length, Compressed Length, and weight.

 

When we get calls we search through our products for the proper paramaters the customer needs.  IE: 48 Extenderd. 12 Compressed and 15 pounds... Is there any way to create a spot for me to enter the values I am looking for and have all my other products filtered that do not fit the characteristics needed?

 

Any suggestions as to how to acheive this?

 

Thanks

AmitSahuAmitSahu

You have to use controllers and Visualforce pages. 

 

This can give you a heads up:

 

http://www.forcetree.com/2009/07/database-search-and-selection.html

PaqsPaqs

Hi Bdogg,

 

You could also create a report that shows all your products, but, within your filters, add the fields on which values you want to filter with the following filter:

 

<field to use as filter> contains <leave blank>

 

Then when you run your report, you can add the follow querystring parameter to your report url with the filter:

 

https://login.salesforce.com/<reportid>?pv0="Extended Length" which will return all your products, filtered by the selected criteria..

 

No need for any code and simply use a report on all products with optional filter criterias.

 

Cheers,