RemoveFilter(id)
Removes an existing (default) filter from the “Search Filter” group of the Bill Payment Processing page. Note that some default filters cannot be removed. See Default Filters – Custom Bill Payment Processing Page to determine whether a particular default filter can be removed.
Parameters
-
id
{string} [required] – the field id from the “Search Filter” group of the Bill Payment Processing page that you want to remove. The field id can be found on the helpText of the fields on the “Search Filter” group. You can also refer to the appendix of this document to get the field id of a filter field.
Returns
-
void
Throws
-
EP_MISSING_FIELDS
– Thrown when a required argument is missing. Logs “Please enter required id of filter to be removed.” -
EP_INVALID_VALUE
– Thrown when an invalid argument is passed. Logs “Filter custpage_2663_xxxxx cannot be deleted.”
Example
var epPaymentSelectionForm = new EPPaymentSelectionForm();
epPaymentSelectionForm.RemoveFilter('custpage_2663_transtype');