You need to sign in to do that
Don't have an account?
JamesCoopeVicon
Visualforce email attachments
I am referencing a visualforce email template in a URL as below so it can be used in a detail page button.
/email/author/emailauthor.jsp?p2={!RMS_LicenseInfo__c.Contact__c}&p2_lki
d={!Contact.Id}&p3_lkid={!RMS_LicenseInfo__c.Id}&p26=support@vicon.com&t
emplate_id=00X300000011xl7
The attachment created by the template is not generated when the button is clicked.
If the template is selected manually then the attachment will appear.
Is there any way to make the attachment wok when the button is clicked?
Could I use Java or something?
Thanks,
James
/email/author/emailauthor.jsp?p2={!RMS_LicenseInfo__c.Contact__c}&p2_lki
d={!Contact.Id}&p3_lkid={!RMS_LicenseInfo__c.Id}&p26=support@vicon.com&t
emplate_id=00X300000011xl7
The attachment created by the template is not generated when the button is clicked.
If the template is selected manually then the attachment will appear.
Is there any way to make the attachment wok when the button is clicked?
Could I use Java or something?
Thanks,
James
you need to use &new_template=1 in the URL to get attachments from the template itself!
Message Edited by JamesCoopeVicon on 12-08-2008 02:09 AM