Skip To Content
Back to Help Center

Page code to set multiple filter fields on a VF pageCategorized in Feature SetupCategorized in User Guide

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.

We don't support Internet Explorer

Please use Chrome, Safari, Firefox, or Edge to view this site.