Create a filter configuration using scripts

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 1 minute to read
  • 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

    1. Navigate to All > Contextual Search > Table Configuration.
    2. Open a table configuration record on which to create the filter.
    3. In the Filter Configurations related list, click New.
    4. On the form, fill in the fields.
      Table 1. Filter Configuration form
      Field Description
      Resource configuration Lookup icon 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.
    5. Enter a script corresponding to the resource configuration.
      Note:

      Use one of these dynamic filter scripts to set up your dynamic filter.

    6. Click Submit.