Ui macro for an email

Community Alums
Not applicable

I have created a ui macro to place a email button beside the caller so that when user click the email button it will open the email.

The ui macro scritpt:

<g:sc_button id="email" title="email" label="email" onclick=" return openEmail()" />
<script language="javascript">
function openEmail(){
var id=g_form.getUniqueValue();
popupOpenEmailClient("email_client.do?sysparm_target=u_table&amp;amp;sysparm_table=u_table&amp;amp;sysparm_sys_id=" + id +"&amp;amp;sysparm_uniqueValue=" + id+"&amp;amp;U_table.u_choice_field=u_choice_value");
}
</script>

 

Now i need help that In the email the to field has to field with caller name and subject with short description can anyone help me how to fullfill these.

0 REPLIES 0