display user and email

keerthana
Tera Contributor

Get assigned to user and email from server data and display as info in client 

4 REPLIES 4

Samaksh Wani
Giga Sage
Giga Sage

Hello @keerthana 

 

You can Display BR.

 

Regards, 

SAMAKSH 

ok . please share script

Hello @keerthana 

Can you share your detailed use cases 

 

 

Sandeep Rajput
Tera Patron
Tera Patron

@keerthana Use an onLoad client script to access the value of email of the assigned_to user.

 

function onLoad() {
  // Get the value of the "Email" field on the referenced "sys_user"
// record for the "Assigned To" field
 var assignedToEmail = g_form.getReference('assigned_to).email;
g_form.addInfoMessage(assignedToEmail);
}