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
simran_singhsimran_singh 

Implement a functionality on a button on Attachment detail page to send it via email

Hi,

 

Salesforce has standard functionality for sending email (from send email button on activity history) using this standard page /_ui/core/email/author/EmailAuthor  which will allow adding attachments from documents or My computer via UI later on.

 

My requirements :

I wanted to add a custom button on Attachment detail page, on click of which I can get the same standard page above mentioned with attachment already linked.

 

Is there any way to achieve this without writing a complete custom code ?

Is it possible to do this via some script executed on button click and may be we could send attachment Id in URL and standard page will open along with attachment attached to email ?

 

Please suggest if anyone ever tried this or know any trick to do the same.

 

Thanks,

Simran