function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
rob3000rob3000 

Custom javascript button to send email with attachments

Dear all,

 

I have a Custom Object "Visit Report". User should be able to create new Visit Reports and add attachments. They should also be able to distribute the visit result using SF.

 

I realized this with a custom button executing javascript, all works fine but I don't know how to pass thru the attachments to that email.

 

location.replace('/email/author/emailauthor.jsp?retURL=/{!Visit_Report__c.Id}&p3_lkid={!Visit_Report__c.Id}&rtype=003&&p24={!Visit_Report__c.Recipient_Email_Addresses__c}&template_id=00X20000001DLiw&p5=')

 

Any help? Thanks!

 

IspitaIspita

What is your precise questtion? How does one attachmentment id tothe emailing screen/UI?

rob3000rob3000

My question is: how can I pass attachments from the notes & attachments section on my custom object to an email?

rob3000rob3000

no ideas, anybody?