---
sourceDocument: Australia ServiceNow AI Platform user interface
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/platform-user-interface

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia ServiceNow AI Platform user interface

ft:clusterId :

    - platux

bundleId :

    - platux

workflow :

    - Platform


---

# Reclassify cloned or customized search widgets

# Reclassify cloned or customized search widgets {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

Search widgets that you cloned or customized before a system upgrade may not be
compatible with AI Search. You can resolve this issue by running a fix script
that reclassifies search widget instances.

## Antes de Iniciar

1. [Enable and configure AI Search in Service Portal](https://servicenow-prod.fluidtopics.net/45gHamFnXl0OCQZd~~VnCQ "Enable and define the AI Search experience in your portal.")
2. Run the Portal Analyzer to identify all cloned or customized search widgets. For more information, see [Get a list of widgets per page](https://servicenow-prod.fluidtopics.net/_SZMBSMaqN2lcqAQJrM9mg#portal-analyzer "Get a summary of all widgets that appear on Service Portal pages. Use this data to better understand widget customizations and page usage.").
3. For each cloned or customized search widget, copy the sys_id value of each widget instance that is associated with the widget.
4. For each cloned or customized search widget, ensure that the widget and its corresponding widget instances have the latest AI Search code from the base system search widget.  
   Aviso:  
   Run the fix script only after you've updated all cloned or customized search widgets. If you run the fix script without first updating the widget code, the widgets won't be able to uptake the AI Search code later.

{#reclassify-search-widgets__ol_imb_5n5_vnb}

Role required: admin

## Por Que e Quando Desempenhar Esta Tarefa

If you're unable to use AI Search in Service Portal,
you may need to reclassify your cloned or customized search widgets. You can run the
Reclassifying Search widgets fix script, which
reclassifies widget instances to the <var class="keyword varname">sp_instance_ais</var> class.

## Procedimento

1. Navigate to AllSystem DefinitionFix Scripts.
2. On the list, find and open the record named Reclassifying Search widgets.
3. On the form, update the script to define which widget instances to reclassify.  
   Paste the sys_id value of each search widget instance in the array. For example, you would enter the sys_id values as follows:

       var instances = ["sys_id_1", "sys_id_2"];

4. Save the form.
5. Select Run Fix Script.

