Want to populate logged in user name in widget form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 02:30 AM
Hello All,
I want to populate the logged-in user name on the widget form for the requester field. I am new to the service portal please guide me on this thank you.
Thank You.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 09:20 AM
The scripts are OK.
But is the Body HTML Template exactly what you posted?
Cause the other attributes of the sn-record-picker directive are missing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 05:36 AM
Hello @Community Alums How to write this in input tag .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 05:53 AM
Hello @Community Alums whatever code you pasted here I know that basic code but I am working on the service portal
in that I have created a widget. In the widget, I have created a requester filed for the requester filed I want to populate the logged-in user name.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 05:55 AM
Okay, Now I got ur requirement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 06:42 AM
ok, @Community Alums if you found any solution please share.Thank You