You need to sign in to do that
Don't have an account?
Raghvendra Singh 22
Fetch the Email template and folder and show in dropdown in Lightning Component
Hi Guys,
How to achive this: Fetch the Email template and show in dropdown in Lightning Component
Thanks,
Raghu
How to achive this: Fetch the Email template and show in dropdown in Lightning Component
Thanks,
Raghu
All Answers
Thanks for your reply.
But i am getting this error:
This page has an error. You might just need to refresh it. Unable to find 'doinit' on 'compound://c.SendEmail'. Failing descriptor: {markup://c:SendEmail}
One more requirment i have .. could you please tell me : how to get email template inside this folder:
whenever i click any folder it should show all email template in checkbox so that user can click and use that email template
Thank you Raj
did you find the logic
Thanks
I found this incredible post and would like to thank you for sharing this approach!
I have included the code into the flow and I can see all the templates in a long list, no folder structure.
Is there something I have to be aware?
In addition to Raghvendra's requirement, how would the last step, selecting the email template and actually using/sending the mail look like.
My approach would be to using this link:
https://na15.salesforce.com//_ui/core/email/author/EmailAuthor?rtype=003&p3_lkid={!recordId}&retURL={!recordId}&p6={!SubjectLine313}&template_id=[WhatComesHere?]
EmailAuthor should be the user
{!recordId} = Case ID (email should be linked to a case)
{!SubjectLine313} = Subject line that has been defined as variable in the flow
template_id = ???
Many thanks for your support!
Cheers,
Marek
Can pleae share the code and facinf below issue.
Sorry to interrupt
This page has an error. You might just need to refresh it. Action failed: ltng:outApp$controller$init [Incorrect usage of ltng:outApp. Refer to the 'Lightning Components Developer Guide' for correct usage] Failing descriptor: {ltng:outApp$controller$init}
I have added all controller,componenet,still facing issue,please help me