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
Eyal_WizEyal_Wiz 

Lookup field to a custom object with an Auto-Number ID

I have a question regarding the "recruiting app" shown in the the "Introduction to the apex platform" pdf.
 
In this application we created 3 new custom objects: Postions, candidates, job applications.
 
The position tab includes a section that displays Job applications for the current record. in that section the candidate column displays an ID and not it's value (the candidate name). This problem occurs every time that I create a lookup field to a object that has an auto-number id.
 
Is there any solution to that problem?
 
 
 
SreerupSreerup

Hi,

Actually when u have built your custom object there's a provision where it asks for the data-type in the ENTER RECORD NAME LABEL and FORMAT section. It's such that you have entered the data type as auto-number. That's why you were unable to view the value. Try changing the data-type and I hope you will be able to view the desired result. Please let me know if it helps.