isFilterHidden(quote, fieldName)

Determines the visibility of a filter in the UI. Return True to hide the filter and False to let users see the filter. Salesforce CPQ calls this implemented method for each search input field.

global Boolean isFilterHidden(SObject quote, String fieldName)

quote

Type: SObject

The quote object containing the field used to determine whether the method returns true or false.

fieldName

Type: String

The field tested to determine whether the method returns true or false.

Type: Boolean

Return True to hide the filter and False to let users see the filter.

This example shows a method that returns True and hides the filter if the quote’s status has a value of Approved.