---
sourceDocument: Xanadu ServiceNow AI Platform Administration
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/platform-administration

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Define contextual search for record producer

# Define contextual search for record producer {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Define a record producer to trigger a search based on the text that you enter in a variable field. Search results appear at the bottom of the record producer form.

## Before you begin

Role required: admin

## About this task

The base system Create New Incident record producer is configured to use contextual search. If you have customized this record producer, you can configure contextual search to link to a specific field on your record producer.  
Note:  
Only one variable within a record producer can use contextual search.

## Procedure

1. Navigate to AllContextual SearchRecord Producer Configuration.
2. Select New.
3. On the form, fill in the fields.  
   Figure 1. Record producer configuration form {#t_CntxtSearchRP__table_nwy_g1t_dhb__entry__2}

   | Field | Description |
   |-|-|
   | Record producer | Unique name of the record producer where you want to add the contextual search. |
   | Search context | Name of the search context to use. |
   | Search variable | Variable within the selected record producer that uses the contextual search. |
   | Title | Title for the search results area that appears in the form. |
   | Active | Option to activate the record producer configuration. |
   | Limit | Maximum number of search results returned. |
   | Results per page | Number of search results to display per page. |
   | Allow expand/collapse | Option to allow expanding or collapsing the search results in the form. |
   [Table 1. Record producer configuration form]

   {#t_CntxtSearchRP__table_nwy_g1t_dhb}
4. Select Submit.

*[\>]: and then


