please help me out by using the onLoad() cleint script i want to auto populate the user details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 09:07 PM
Hi,
please help me out by using the onLoad() client script i want to auto populate the user details.
Please help me out with the script.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 09:19 PM
Hi Kranthi,
Please share your script.From where you got stuck
Regards Satyapriya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 10:11 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 10:20 PM
Hi there,
Consider using GlideAjax, this performs much better than getReference.
#best_practice
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 09:25 PM - edited 01-18-2024 09:31 PM
why do you need to script this?
set your defualt value on your requested for variable to: javascript: gs.getUserID() and the OOB auto populate will take care of the rest
Mark ✅Correct if this solves your issue and also mark 👍Helpful if you find my response helped in any way