Loading

Salesforce Platform – searchResultsFields Error During Change Set Validation or Deployment

Publiseringsdato: Jul 6, 2026
Beskrivelse

Attempts to validate or deploy a change set may result in the following error message:

In the field: searchResultsFields - no CustomField named Custom_Object__c.Custom_Field__c found

 

Note: In this example, 'Custom_Object__c.Custom_Field__c' in the error above refers to the problematic object and field API names. These may be different depending on your custom object and field names.

 

This error occurs because the outbound change set includes a Search Layout (searchResultsFields) that references a custom field not included in the change set. Salesforce requires all dependent components — including custom fields referenced in Search Layouts — to be explicitly added to the change set before validation or deployment can succeed.

 

Løsning

To resolve this error, manually add the affected field referenced in the error message to your outbound change set.

Add the Missing Custom Field to the Outbound Change Set


1. Click the 'Add' button under the 'Change Set Components' heading.

2. Select 'Custom Field' in the 'Component Type' pick list.

3. Choose the problematic field from the list.


In our example error above, the affected field's API name is 'Custom_Field__c'. For more details on identifying the corresponding label based on the field's API name, refer to Find the API name of a field.


4. Click 'Add To Change Set'.

5. Re-upload the outbound change set. See Upload an Outbound Change Set for more details.

Flere ressurser

See Select Components for an Outbound Change Set for details on accessing the affected outbound change set.

Knowledge-artikkelnummer

000384462

 
Laster
Salesforce Help | Article