- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2022 07:49 AM
I have a User Reference field called "First Name" in catalog item, by selecting user it needs to populate only first name of that user, not fullname.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2022 07:52 AM
Hi Shawn,
Since that is reference field it's not possible to display only first name because 'display' value on sys_user table can be true for only field and by default it is true for full name I guess hence it will display full name once you select, and if you make display true for first name then it will affect everywhere hence this is not recommended. Mark my answer as correct if that helps.
Regards
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2022 07:59 AM
I don't think it is possible
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2022 08:01 AM
Okay i'll accept, i got idea now , thank you for your response.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2022 08:06 AM
If your query is resolved, please close the thread by marking my initial response as correct
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2022 07:56 AM
Hi,
I agree to what Musab had said. If it really needs to show just the First name, add a new field which will populate the first name to the field and show this new field and hide the reference field which you initially selected. This is a workaround. This is not recommended but if you really need to make it work that way, then you can give this approach a try. Havent tried it though.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2022 08:50 AM
I would approach it similarly too. Create 2 fields--one for the full name, auto-populate this name onLoad, then hide it in all views. Second field: first_name, create an OnChange script, then dot walk it (requested_for.first_name) to set the value of this field. I have not tried this either as I always have to show full name in all of my items. Good luck with your project! Please do share how you achieve their requirement.