Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..

cancel
Showing results for 
Search instead for 
Did you mean: 

Populate the Current User's information in Text Field

Hello All,

I am trying to populate the current user's information in a text field using the Custom object. Any suggestions are highly appreciated. Thank you.

5 REPLIES 5

DavidPetty
Archer Employee
Archer Employee

@galendar_aws what type of user information?

If you're users are synched with the Contacts application you can have a calculated cross-reference field pull that user information into the record via calculated fields.

 Advisory Consultant

Our contacts application is not in sync with the users. We need user's first and last name information to populate in a text field.

Anonymous
Not applicable

Calculation is as good as it goes for your use case.

Srujan7
Contributor II

you can use the below in your CO

var currentuser = parent.parent.ArcherApp.globals.displayName;
document.getElementById('fldid').value=currentuser;

fldid is the text field id to which you want to set the value