How to populate username in reference field
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2023 08:18 AM
When typing in the reference field, the username should get listed instead of userID. How can I achieve this?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2023 09:08 AM
Hi @Swetha M ,
Follow these steps to modify the display value of a reference field:
- Open the form that contains the reference field you want to modify.
- Right-click on the reference field and select Configure -> Dictionary.
- In the Dictionary Entry form, scroll down to the Attributes related list and click on the "Edit" button next to the "Attributes" field.
- In the Edit Attributes form, add a new attribute with the following values:
- Name: reference_qualifier
- Value: sys_user.user_nameLIKE${query}^ORnameLIKE${query}
- Save the attribute and Dictionary Entry forms.
- Reload the form that contains the reference field. Now you can see the user names instead of user id's
Regards,
Teja
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.