+ Start a Discussion
DierdreDierdre 

VisualForce email template for Knowledge Article

Hello,

 

I'm a visualforce newbie and I'm trying to create a visualforce email template that will include the content of the knowledge article because our support team needs to be able to edit some of the articles on the fly before they send the answer to the end user.  An example would be some customers use 'cart' and some use 'basket'.  Currently they are able to edit the solution in an email, but we lose that functionality with articles.

 

I've got the vf email template with the recipienttype=contact and the relatedToType=Case, but I'm stuck on how to relate to the article since {!relatedTo.articletype__kav} was not the answer.

 

Thanks so much for any insight!

osamanosaman

You can include  <apex:component> in the email template and do the custom logic in the controller and display it on your VF tmeplate.

RGK.ax912RGK.ax912

Could you give more detail of how to do tis as I am having the same problem.

 

thanks