function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dwright01dwright01 

Error from migration tool - "No more than 10 columns may be specified in searchResultsFields"

I've tried to use the migration tool to copy metadata from one sandbox to another, but I'm getting an error:

"No more than 10 columns may be specified in searchResultsFields" when it tries to deploy a custom object.

 

I have exactly 10 fields in <customTabListAdditionalFields> and 10 in <<searchResultsAdditionalFields>.

When I deleted one of each I get past the error.

 

Why is there a limit of 10 columns when migrating?  Can I get around the limit?

 

Thanks,

Dave

 

 

jhurstjhurst

Dave,

 

!0 is the limit to the number of fields that are displayed in the Search Layout - https://help.salesforce.com/apex/HTViewHelpDoc?id=customize_searchlayout.htm&language=en_US.  Remember that along with the 9 fields you select, the standard Name field must be included (bringing the total to 10).

 

This is a limit in salesforce.com that cannot be changed.

 

If you needed to have more, you would have to create a custom search function using the API or Apex.

 

Hope this helps.

Jay