How to add email attribute in user field available on UI page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
This is sourcing page. want to add email attribute in user reference field along with existing name .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
hi @Ganesh65 ,
you can add column attribute to g:ui_reference like below:
<g:ui_reference
id="caller_id"
name="caller_id"
table="sys_user"
query="active=true^emailISNOTEMPTY"
completer="AJAXTableCompleter"
columns="name;email;department"
value=""
displayvalue=""
onChange="onCallerChange();" />
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
did you identify the UI page for this?
you can add some extra attributes in g:ui_reference tag if that's being used
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Thanks , @GEMC , @Ankur Bawiskar
source_request is the UI page but i dont see any reference to user table .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
is it calling another UI page or UI macro from within that main ui page?
did you check that?
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader

