I want to replicate this Field in Custom Doctype

Hello everyone, within the HR module, there’s a field named ‘applicant’ in the interview document type. When a user clicks on this field, it displays various field values associated with the selected applicant. I’m looking to replicate this functionality in another custom document type. Could someone assist me with achieving this?

@Mounananda_Reddy it’s a field type link with options “Job Applicant”

@Mounananda_Reddy Read this doc

You’re correct,
It’s linked to the ‘job applicant’ doctype, but it’s not just displaying the applicant ID; it’s also showing the name and other fields. How can I achieve that?