Skip to main content
I have custom object for e.g Abc which uses the Standard Name field for storing the name.Since the field length can be max of 80 characters user is not able to add Names longer than 80 characters.

 

I cannot use the alternative of making the Name field as Auto Number and create a custom field and make that as mandatory since, some other object has lookup to this object 'Abc' .And in the lookup we can only search through the Name field.

 

Kindly provide some idea regarding this issue.
6 answers
  1. Apr 16, 2014, 5:05 PM
    Hi Ira.

     

    Here is what you can do with the Winter 14 Release. Salesforce has enhanced the search facility to include most fields on the object (some exceptions are there though), but text fields are included.

     

    1. Rename the Out of box Name field to Id and set it to Auto number

     

    2. Configure a new text fields to store the Name (can be more than 80 chars or 255)

     

    3. Train the Users to use the SEARCH ALL fields option in the lookup. Default is based on the Id, but the user can change the selection to ALL FIELDS and then type in the text from the custom Name field. And this will bring in the results

     

    Hopefully this should solve your problem with the recent release. If this answers your question, mark this as answered so others can benefit.
0/9000