How to enable the email client and autopopulate the To: field??

naveenmyana
Giga Expert

Hi,

How to enable the email client on the requests form and also I need to populate "To" address with the" Requested For" email address...Please help me out how can i resolve this one..

123566.png

Thanks,

Naveen

1 ACCEPTED SOLUTION

Just add the field name in To field of the template without inside bracket.



Example :


Use caller_id   instead of ${caller_id}


View solution in original post

30 REPLIES 30

prashantnagaral
Kilo Guru

Hi Naveen,



I suggest you to create a email template from system policy and have this "javascript:current.requested_for.email()" in TO field.



Mark this as answered if you satisfied with above solution.



Regards


Prashant


Hi Prashant,



I believe the template has already been created for this table if you can see my screenshot,I am not able to find that one wr is it and wr to update the script


for To field...Pls suggest


123566.png


HI Naveen,



Please Follow the below steps:-


1, For Email client First Go to Client Templates and click on new to Create an email template for your table (refer the fist image).


Capture 1.PNG


2, Now refer the second image and replace the caller_id with your field name for a particular table .Capture 2.PNG



Note:- Also make it sure that you have added the email_client attribute in the collection field of you table in "sys_dictionary" table entry.


PLZ mark this correct if it resolved your issue or feel free to ask if u still have any queries.


Regards,


SHUBH