Create a filter configuration using scripts
Create filter conditions using script that you can associate with a table configuration. The search result displays results that meet the filter conditions.
Before you begin
Role required: admin
Procedure
Navigate to All > Contextual Search > Table Configuration.
Open a table configuration record on which to create the filter.
In the Filter Configurations related list, click New.
On the form, fill in the fields.
| Field | Description |
|---|---|
| Resource configuration | Lookup icon Image omitted: look-up-icon.png Lookup icon to select a search context to select a resource such as Knowledge Articles. |
| Table configuration | \[Read-only field\]. Table for which you want to apply the filter configuration. |
| Scripted filter | Check box to select if you want to enter scripts in the Script field.Note: The Script field appears only when you select Scripted filter. |
| Application | Application scope for your filter configuration. |
| Active | Check box to activate the filter configuration. |
Enter a script corresponding to the resource configuration.
Note:
Use one of these dynamic filter scripts to set up your dynamic filter.
Click Submit.
Parent Topic:Filter configuration for contextual search