Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Auto populated current user in catalog item

asasas
Kilo Contributor

I have a catalog item called MacBook which contain a variable : Requestor(mandatory)   which is   reference to user table.

11.PNG

what I want is this "Requestor"   should auto populated the current user name.
Can someone help me?

Thanks

4 REPLIES 4

Harsh Vardhan
Giga Patron

right click on variable and put "javascript:gs.getUserID();" in default value .


Mihir Mohanta
Kilo Sage

In the default value field of the "Requestor" variable dictionary form write



javascript:gs.getUserID();




Thanks,


Mihir


asasas
Kilo Contributor

How to auto populate log in user Email and phone number?