Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Automatically populate current user

gm01
Kilo Explorer

I have a catalog item request form and for the user I am using a lookup Select Box from the sys_user table so my lookup value can be a specific value that I populated in the table and the label field to be user_name.   I want it so it automatically populates the box with the person selecting it but let them possibly choose to request it on behalf of someone else who is allowed.   I have tried different reference qualifiers but haven't been able to get it to work.   Would this be possible with a reference qualifier or would I more likely have to create a script to be able to do this?

3 REPLIES 3

dhasselquist
Mega Guru

Try this:



In the default value, enter: "javascript:gs.getUserID();"


Deepak Ingale1
Mega Sage

You can auto populate user id to current logged in user by putting default value to



javascript:gs.getUserID()



find_real_file.png


Uzuk Ataballyye
Kilo Contributor

it works for User ID, but how can i get full name of the user?

Can you help with that?