This is a sample page to set multiple filter fields on a cusom CA Visualforce page
oResultAPI.setFiltersPanel({ fields : [‘common|createddate’, ‘event|subject’] }); |
Function setFiltersPanel is a new API functionthat defines filterSets and the list of fields.
fields – set list of fields,
Each field include lowerrcase object name (or “common” ) PLUS ‘|’ (vertical line) + API field name – also lowercase
List of fields is an Array, so each field has to be as a separate String.
Elements of array are splits by comma – like in any other JS Arrays.