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
Chris ConfortiChris Conforti 

Can I add an attachment to A detail Page Link (Content Source URL)

I have a detail page link that triggers an email when clicked and is located on a custom object..
On this same object, I have a visual force page button setup that extracts all the required information that would be needed in order to send an attachment.
I would like to be able to have this VF Page added as a PDF attachment when the Detail Page Link(email) is clicked.

The below is the URL Code I am using in order to send email;
https://mail.google.com/mail?view=cm&tf=0&to={!ThinkLP__Investigation__c.StoreEmail__c}
&cc=emailtosalesforce@9-34c5cusem7ueuofas0g02tx3yrdj4y4jw1vx8exj0s9xbjtxky.d-hqybeai.dl.le.salesforce.com;
{!ThinkLP__Investigation__c.DLPM_Email__c}
&tf=1&su="SAD: True Variance Alert" [Ref: {!ThinkLP__Investigation__c.Id}]
&body=
Refer to Variance Case:{!ThinkLP__Investigation__c.Name}
%0D%0A
%0D%0A
Variance Date: {!ThinkLP__Investigation__c.ThinkLP__Incident_Date_Time__c}
%0D%0A
Variance Type: {!ThinkLP__Investigation__c.Variance_Type__c}, {!ThinkLP__Investigation__c.Overage_Shortage__c}
%0D%0A
Employee:{!ThinkLP__Investigation__c.ThinkLP__Subject_Name__c}, {!ThinkLP__Investigation__c.Employee_Number__c}
%0D%0A
%0D%0A
Variance Amount: {!ThinkLP__Investigation__c.Actual_Variance__c}
%0D%0A
%0D%0A
**THIS IS AN AUTOMATED E-MAIL.  PLEASE SELECT "REPLY ALL" IF FURTHER COMMUNICATION IS NEEDED**

Any thoughts or suggestions? 
Thank You
Christopher