- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 06:39 AM
Hi,
Hi, I need to get the User ID and email address of the logged-in user who is entering information in Record Producer and push it to a specific item item.
For example, we will prepare such a String item in Record producer variables and automatically propose it.
How can it be implemented?
Best Regards,
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 06:45 AM
Hey,
Use default values in the variable:
javascript: gs.getUserName() //for user id
javascript:gs.getUser().getEmail();/ for email
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 06:43 AM
you can create a client script - on-load with below script
g_form.getValue('field name', g_user.userName);
this will populate the username of the logged-in user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2022 01:44 AM
Hi,
Thank you.
I worked it!
Regards,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 06:45 AM
Hey,
Use default values in the variable:
javascript: gs.getUserName() //for user id
javascript:gs.getUser().getEmail();/ for email
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2022 01:44 AM
Hi,
Thank you.
I worked it!
Regards,