- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2016 11:00 PM
Hi all,
I'm building a record producer to capture a specific incident with one of the fields requiring a contact email address.
In most cases we already have this information available within the Sys_User table which means I should be able to auto-populate the field unless the user wants to change it to an alternative address.
The auto-population is working for me
I've setup the following:
Table: Incident
Type: Reference
Question: Email Address
Type Specifications
- Reference: User (sys_user)
Default value: javascript:gs.getUser().getEmail()
However the form field just loads the getUser detail (full name) rather than the email address.
Can anyone see what I'm doing wrong?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2016 11:10 PM
I've resolved this myself.
Looks like I'm unable to use a "reference" type field, so have updated to "single line text" field which made the above (original post) work immediately.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2016 11:07 PM
Hi Nathan,
Please check the link below.
How can I auto populate user location information in service catalog variable?
Regards,
Harshvardhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2016 11:10 PM
I've resolved this myself.
Looks like I'm unable to use a "reference" type field, so have updated to "single line text" field which made the above (original post) work immediately.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2016 11:17 PM
Make the variable as single line text instead of reference.
It will work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2019 10:51 PM
yeah !! It worked to resolve my issue
thank you.