Populate Logged in user details in catalog item
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2023 09:40 AM - edited 07-04-2023 09:57 AM
HI, Developers I have below the Type of variables in my catalog item. How can I get These Details with the Script?
Thanks for your time and support.
Requestor Name | Capture the Full Name of the logged in user |
Requestor Location | Capture the "Location Name" of Requested For from sys_user table |
Requestor Mobile Number | Capture the "Mobile Phone" of Requested For from sys_user table |
Project Name (ID) | Look-up to project IDs associated with Requested For |
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2023 10:22 AM
Just have another client script , which will be onload client script and have below script to set the value of requester.
var user = g_user.userID;
g_form.setValue('variable name',user);
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2023 12:51 AM