Loading

Salesforce Error No More Than 10 Columns May be Specified in searchResultsFields

Publiceringsdatum: Jan 7, 2025
Beskrivning
You may encounter the following error when validating or deploying a Change Set: "No more than 10 columns may be specified in searchResultsFields."
Lösning

Always ensure that there are no more than 10 fields in the "Search Result Layout" of any object you are trying to push. A few methods for verifying this would be:

  • From the Object itself under the "Setup" menu.
  • Alternately, you can review the XML of the Object, by viewing "Details" in the Change Set. 

Notes:

  • With this approach, the 'Name' field does not display in the XML of the file, but will still count towards the 10-field limit
  • For the Salesforce Mobile App, on iOS and Android, you see only the first six fields in the layout


After removing any additional fields in the Search Layout on all objects being deployed, the error should no longer be present.

Ytterligare resurser

Salesforce Idea - Search Layouts only limited to 10 columns

Salesforce Help:

  Search Layout Guidlines

  Edit Your Search Layout

 

Knowledge-artikelnummer

000386771

 
Laddar
Salesforce Help | Article