• Dzan
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

Hi !

I have email alert on custom object, so, i have VF Email Template (VFET) for that 

 

Record of custom object have some atachemts - i want put it to email.

 

 

Now i can to attach only pictures. VFET have that:

<messaging:attachment renderas="pdf" filename="{!relatedTo.Name}">  

and component with that:

<apex:image url="/servlet/servlet.FileDownload?file={!doc}"/>

 

But it works for pictiures only, rendered as pdf.

How with docs and pdf from related Notes & Attachments ?

 

 

 

 

 

  • June 18, 2009
  • Like
  • 0

Hi !

I have email alert on custom object, so, i have VF Email Template (VFET) for that 

 

Record of custom object have some atachemts - i want put it to email.

 

 

Now i can to attach only pictures. VFET have that:

<messaging:attachment renderas="pdf" filename="{!relatedTo.Name}">  

and component with that:

<apex:image url="/servlet/servlet.FileDownload?file={!doc}"/>

 

But it works for pictiures only, rendered as pdf.

How with docs and pdf from related Notes & Attachments ?

 

 

 

 

 

  • June 18, 2009
  • Like
  • 0