Ui macro for an email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2023 12:44 AM
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;sysparm_table=u_table&amp;sysparm_sys_id=" + id +"&amp;sysparm_uniqueValue=" + id+"&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.