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
sumedha psumedha p 

Custom 'auto number' field is not appearing in global search


I have a custom object with a custom auto number field. There is a tab associated with object and the custom field is added in search results layout.

Now the issue is, global search is not giving suggested result but when on hitting enter, it gives the result.User-added imageUser-added image
NagendraNagendra (Salesforce Developers) 
Hi Sumedha,

Sorry for this issue you are facing.

Auto-number fields are searchable by global search. Make sure there are no filters while searching and you are searching in all objects.

Do you have a custom tab defined for the Custom object?
Custom object records appear in search results only if they have a custom tab.

When I search a record with a system-defined standard auto-number field, I didn't get the desired record. I had to click the 'Search All' link as you can see in the screenshot below. Once I clicked that I got the record.
What you can do is if you are gonna search for the same object, you can pin them by hovering on the top of the object name.
See #2 here at 
Hope this helps.

Kindly mark this as solved if the reply was helpful.