Questions tagged [vf-email-template]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

rich text not formatted on vf pdf properly

I have created a vf page pdf and use a custom RTF field but on PDF it is not rendering properly i tried outputText and OutputField tag but not able to fix the issue. on Detail page Image is below On ...
0
votes
0answers
25 views

Footer is showing only on last page not shown on first and second page

MY footer image is not displaying on every page, I can see it only on the last page at the bottom. but not able to see at all pages. Even I can see the header image on all pages but not the footer. &...
0
votes
0answers
13 views

How to use custom VF component in managed visualforce email template [duplicate]

I am trying to use custom vf component in managed vf email template but it is giving me an error saying unknown component. My vf component is set to global already and all the attributes are also set ...
1
vote
1answer
51 views

“Unsupported attribute …” error when deploying VF Email template with ANT

I spent an entire day trying to figure out why I got this error in my deployment but could not figure out why. So I hope someone here could shed some light on this. This is the error I got. I don't ...
0
votes
0answers
12 views

How to add case related attachments on vf email template [duplicate]

I have walk through many questions and answers here which are not cleared.and getting Error: Invalid child of messaging:emailTemplate. Only messaging components are allowed as children of messaging:...
0
votes
1answer
42 views

$Site.Domain is not working in Visualforce Email Template

Trying to read the force.com subdomain URL host-name in Visualforce Email template as below. <td style="text-align: center;font-family: 'Heebo', sans-serif;font-weight:300; padding: 20px;&...
0
votes
1answer
23 views

Visualforce Email Template apex:facet not showing in result

I am having an issue wherein the apex:facet header for my apex data table is not showing up in the result. I am fairly certain this is due to be adding a filter for the record type in the column. ...
0
votes
1answer
20 views

Format String Visualforce Component in a Custom Visualforce Template

I am struggling with something I think should not be difficult but I am not able to figure out, my date field display as the below screenshot. My aim is to remove from the template the characters 00:...
0
votes
0answers
21 views

MailingState field showing statecode instead of state/province Name

I am writing a visualforce email template and trying to show the recipient's mailingState Name. My piece of code is given below: <messaging:emailTemplate subject="{!$Label....
0
votes
0answers
66 views

Visualforce Email template recipient type with multiple customized objects. Create customized object

Requirement is to use email template with visual force components, and send an email for each environment the contact is associated to. For example, contactA is associated with env1, env2, and env3. I ...
0
votes
2answers
65 views

Email content not rendering when Pass custom relatedTo object's param from visual force email template to controller

I'm really confused by order of execution. I have tried with a few posts, but mine does not work. Please help with taking a look. I am able to receive the templated email, but there's no incident ...
0
votes
4answers
64 views

Unable to retrieve {!recipient.Fieldname} values in custom visual force email template

I have created a custom visual force email template as below. When I use this template, I am unable to retrieve {!recipient.Fieldname} values in the received email. Flow: Create a new Event from a ...
1
vote
0answers
331 views

Email alerts are not sent out from specific profile

I have a very simple workflow rule that sends out an email alert when the record is created and any time it's edited to subsequently meet criteria. If I log in as an admin, the alerts are sent out ...
0
votes
1answer
658 views

Visualforce email template in Lightning

Can anyone let me know how to create VF email template in Lightning. For email templates in Lightning, we have a tab called Email Templates. When I tried to create a new template, I have an option of ...
0
votes
0answers
50 views

Is it possible to schedule sending a VF Page via Email?

We have this requirement that says we need to schedule once a month the sending of a VF page that contains custom dashboard charts via email. So if we break this requirement down, we need to do the ...
0
votes
1answer
584 views

Visualforce Email Template - broken images for all Email Clients? Workaround?

I have a case open with Salesforce, but I usually have better luck here. I have tested an email template on numerous mail clients - Outlook 2010, Outlook OWA, Gmail, and Yahoo. However all of them ...
1
vote
1answer
255 views

VF Email Template throws List has no Rows to sObject when invoked via VF Component

I'm facing an issue with VF Email Template. The error is not very Clear : "Error Error occurred trying to load the template for preview: List has no rows for assignment to SObject. Please ...
0
votes
1answer
4k views

Get community link in email template

In the Visualforce page context, we have the $Site.Prefix formula available to get the community's path prefix so we can adapt our link for the internal users. I'm wondering if something similar can ...
1
vote
0answers
581 views

Attach File/ContentVersion into a standard visualforce email template

I have an api that gets pdf invoices and stores them as Salesforce Files. I then want the sales rep to be able to send the email template with the pdf attached. Using standard visualforce email ...
1
vote
0answers
95 views

Add existing attachment in visualforce Email template via workflow

I have a scenario that when billing is generated in system. Invoice should be send through mail to Person Account Email. I am doing this via workflow. In workflow I have a VF email template which ...
0
votes
0answers
47 views

Email Sending when task is created

I have a requirement to send out emails when tasks are assigned to the assigned user. These tasks are specific for cases, meaning tasks are created only for cases. The template has the subject line ...
0
votes
1answer
213 views

How to Avoid Exponential Value(2.0E+7) in VF Email Template?

I have designed VF Email template inwhich when I closed an opportunity,it sends notification email to owner of record. Below is the VF page that I designed: <messaging:emailTemplate subject="...
2
votes
0answers
564 views

Help in debugging VF Email template

I have a VF email template created that uses a VF component with attribute URLType which gets the value dynamically on Email from the controller for a community URL(External) and salesforce URL (...
0
votes
1answer
163 views

How to send the Case attachment in an alert email using VF Email Template?

I want to send the Case attachment in an email to Risk & Legal team when Manager approves the request. For this I have created the VF Email Template (Because in Email Template I have header, ...
1
vote
1answer
1k views

How to load images (Header and footer) in the VF Email template?

I am looking to load the header and footer images present in the Document tab When I click on the URL: https://c.cs53.content.force.com/servlet/servlet.ImageServer?id=0150j000000DHQL&oid=...
2
votes
1answer
30 views

How to print data in VF email template without line break?

I am working on the salesforce VF email template. I want to show the details like below. Cofidentials In my younger and more vulnerable years my father gave me some advice that I've been turning over ...
3
votes
1answer
1k views

How to create the fixed width table in VF Email Template or using html?

I am creating a VisualForce Email Template and I have a table (exactly the same shown below in screen shot) which I want to show using either html or VF, but doing below in VF looks very difficult and ...
4
votes
3answers
3k views

Error Error: Unsupported type: common.api.soap.wsdl.Address used in expression: relatedTo.Account.PersonMailingAddress

I am new to the salesforce and creating an VisualForce Email Template and I have a field which I want to show in VF Email Temlate, but when I am trying to show it Account object is having the below ...
0
votes
1answer
426 views

Error Error: Invalid child of messaging:emailTemplate. Only messaging components are allowed as children of messaging:emailTemplate

I am facing the below error while creating the VisualForce Email Template. Why? Error Error Error: Invalid child of messaging:emailTemplate. Only messaging components are allowed as children of ...
1
vote
0answers
425 views

Visualforce Email Template Error

I am trying to enable automatic Visualforce Email Template, but I get the following error message on Visualforce Email Template Edit page: Error occurred trying to load the template for preview: ...
0
votes
1answer
496 views

alignment problem in Vf email template

I have an email alert where a VF email template is used. and one VF component is used in the email template I'm facing alignment problem in Outlook desktop version but not in outlook web version . ...
0
votes
1answer
183 views

visual force component in salesforce [duplicate]

Visual Force Component: <apex:component controller="myController1" access="global"> <p /> <apex:outputLink id="urlString" value="{!url}/{!$User.Id}?noredirect=1&...
1
vote
1answer
316 views

Using VisualForce Email templates

I have Contacts object (contains the employees) and a Custom object called Organizations (which has the list of companies) and they are related using Lookup relationship (there is a lookup field on ...
3
votes
1answer
4k views

How to show the todays date in VF Email template in salesforce

I am using {!Today} in a Custom Email Template and it is showing today's date. But I need to change the template to VF template and I am getting a error. Can suggest how can I show today's date ...
3
votes
3answers
506 views

VF Email Template With VF Component Not Working For Community Forgot password

I had changed Email template for "Forgot Password" as VF Email Template that contains a VF Component in Salesforce Community. But when that VF Email Template -->VF Component have controller then email ...
2
votes
1answer
2k views

How to get Visualforce Email template content in apex?

I have a requirement where i have to use Visual force Email template.so, i have created a vf email template.Now i want to get that vf email body in apex controller.i now if i use custom HTML template ...
0
votes
1answer
610 views

Link to Report on VF Template

Is there a way to add an Link to a particular report onto the visualforce email template. example:<apex:outputLink value="{!LEFT($CurrentPage.URL,FIND('/',$CurrentPage.URL,9))+'/'report.id}">...
2
votes
1answer
706 views

Rendering an Email Template with merged values

A while back I accidentally discovered this GREAT feature of Salesforce where I could display a merged email template via a URL. It was a great feature to show sample emails in my help documentation....
1
vote
1answer
357 views

Sending an VF Template Using Apex

I am trying to send an VF Template using the Schedular Apex. when i run the code below is the error message received: FATAL_ERROR System.EmailException: SendEmail failed. First exception on row ...
0
votes
1answer
942 views

Getting VF Email Template Content in Apex

I have a VF email template and in apex I want to get it's content and will replace its merge fields. I am using below code but it gives null value. EmailTemplate et = [select body,htmlvalue,...