Populate Logged in user details in catalog item

Somasekhar6
Tera Contributor

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 NameCapture the Full Name of the logged in user
Requestor LocationCapture the "Location Name" of Requested For from sys_user table
Requestor Mobile NumberCapture 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

@Somasekhar6 

 

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);

@Somasekhar6 

 

If i was able to resolve your doubts, can you mark it as correct answer.