Questions tagged [visualforce-template]

The tag has no usage guidance.

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

How to align the paragraph present in the labels in visualforce email template

I had a paragraph which i have stored in a label I am using it in the email template of visualforce type {!$Label.confirmationmessage} I am facing issues in the alignment. for example: We received ...
0
votes
0answers
18 views

Visualforce email template attached blank file

I have the following visualforce email template. <messaging:emailTemplate subject="Unpaid Invoice" recipientType="Contact" relatedToType="Invoice__c"> <messaging:...
0
votes
0answers
12 views

Add word wrap to table cell in VF page for CPQ template content

I am using VF page for template content in CPQ. When i preview the quote document, the table cell contents are overlapping.Could someone tell me how to solve this word wrap issue i am facing
0
votes
1answer
11 views

Visualforce Email Templa messaging:emailTemplate

I have requirements that I have created a VF Email template and I need to add the today date and next year date dynamically, Today is working fine as mentioned in code but when I try to add year+1 It ...
0
votes
0answers
18 views

Visualforce Email Template- {!$Network.NetworkUrlForUserEmails} in Welcome Email appearing Blank

I have a VF Template which i'm using to send custom Welcome Email message to new community members. But the thing is {!$Network.NetworkUrlForUserEmails} is coming blank in all the mails. <messaging:...
0
votes
1answer
48 views

Are Visualforce templates possible in Visualforce email templates?

So, let's say you want really beautiful emails sent from Salesforce. You build all the HTML to make them look amazing and add a bit of Visualforce to make them more dynamic. But then you add a couple ...
0
votes
1answer
119 views

Using Custom Controllers within Visualforce Email Templates

I am trying to create a VisualForce Email Template, in this emailTemplate i need to get value from Custom Objects.(This Object is not related to Any other Objects - This is the Object Which i am ...
0
votes
0answers
20 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
1answer
111 views

Error: Aggregate Relationship is used in an unsupported complex expression containing 'SBQQ__Opportunity__r.opportunitylineitems [duplicate]

I have hit a roadblock on an VF email template I am working on, and would appreciate any help you all may be able to offer. I have the following code where I need to set up an email to an outside ...
0
votes
1answer
29 views

Visual-force Email Template working for Test but in Actual Alert it is not displaying all values

I have a Visualforce email template. When i check it with "Send Test and verify Merge fields" then it is working perfectly. However, when it passes through an email alert then only few ...
0
votes
0answers
59 views

How to get the lightning URL in formula field or visualforce email template

I need to get lightning url using this {!$Api.Partner_Server_URL__xxx} or {!$Api.Enterprise_Server_URL__xxx} in formula field or visualforce email template to navigate to the approval history page (...
0
votes
0answers
70 views

Email Template - Visualforce with Bootstrap Static Resource

Background: I have an Email Template that was developed in Visualforce Page with a static resource (Bootstrap). When I preview the email, it looks as expected: When I Test Merge & Send, the ...
0
votes
1answer
13 views

How to use single instance of apex controller in VF Template and VF composition

I have a requirement to implement visualforce Template approach. As part of that I have page1, page2, page3(VF pages). page1 is the starter and composition page which defines content(empty for now) ...
0
votes
1answer
70 views

workflow rule and email alerts firing in user context

I performed this test in my sandbox- There is an object called Object1. When you change a field on it, it triggers a workflow. Workflow sends out email alert. Email alert is using Visualforce Email ...
1
vote
0answers
264 views

Using custom fonts in visualforce email templates

I am creating visualforce email template and need to use custom fonts (mostly Neutraface Display, SalesforceSans, TrailheadBold2). Most of the search results i get are about using them in visualforce ...
0
votes
0answers
24 views

insert merged fields and script to have Accept and Reject in custom HTML email template

I would like to ask for your assistance on how can I insert merged fields in html custom email template. I need to create html template for this message: Dear ${contact}, The engineer working your ...
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
0answers
46 views

Is possible to use a Visualforce email template whose content can be freely edit?

I need to use a Visualforce template because I have to automatically attach a Visualforce page rendered as PDF. However, I'm not able to make a Visualforce template whose content can be freely edit ...
1
vote
0answers
100 views

Visualforce Email template - merge fields not working

I need to populate the merge field for the related accounts creator/owner. I have these details:- <messaging:emailTemplate subject="Employers initiating Enrollment for Employees" recipientType="...
1
vote
1answer
94 views

How to get the attachments in apex which we have set in visualforce email template using <messaging:attachment>

below is the code snippet of the visualoforce email template. <messaging:emailTemplate> <messaging:attachment renderAs="PDF" filename="yourCases.pdf"> <html> <body&...
0
votes
1answer
300 views

VF outputtext with value if contains condition and currency format

I want to format my Amount with currency and at the same time use the condition contains, bur I'm not sure how to put it Currency is working: <apex:outputText value="{0, number, currency}" ...
1
vote
1answer
404 views

Custom Lightning Record Page Template not showing up in Template Switching Wizard

Built a custom lightning record based on the code here (the "Making a Record page with collapsing regions" one). It shows up under Custom when i go to build a new lightning record page but when i go ...
0
votes
1answer
682 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 ...
0
votes
0answers
38 views

Retrieve contact's profile in visualforce email template

<apex:repeat value="{!relatedTo.Apttus_Config2__AssetLineItems__r}" var="astitem"> <apex:outputPanel layout="none" rendered="{!IF(astItem.Apttus_Config2__EndDate__c != ...
0
votes
1answer
322 views

How to display the currency field in visualforce email template

Mutilple Currencies is enabled in Org. Default -USD Ex : i am having currency value__c(datatype - currency) field .if the GBP is selected the amount will be displayed as GBP 1000 (USD 1316) When i ...
0
votes
1answer
443 views

Images in PDF attachment of a Visualforce email Template

When I try to a add an image in my PDF attachment of my email : <messaging:attachment filename="test.pdf" renderAs="PDF"> <apex:image value="https://drive.google.com/uc?id=1dRlAxFf-...
0
votes
2answers
121 views

vf email template can be editable once it managed?

In visual force email template,the user/admin will edit the content whenever necessary,so once it managed can we able to edit the vf email template??
1
vote
2answers
2k views

Conditional rendering using IF in Visualforce Template

I have a VF template where I need to vary the closing part of the mail(after 'Best Regards') based on a particular Picklist field on the case object. Eg if Custom_field__c ='ML' then the closing part ...
0
votes
0answers
484 views

Formatting parameterized custom label inside subject for Visualforce Email template

I'm trying to use the format() visualforce function to have a parameterized custom label as my Visualforce Email Template subject. This is my current code: <messaging:emailTemplate ...
1
vote
0answers
34 views

Add A Visual Image Into a VF E-Mail template from the “Notes & Attachments” related list of a managed package object

This is the code I have written thus far: <messaging:emailTemplate subject="Your Offering Listing" recipientType="Contact" relatedToType="vlocity_ps__InventoryItem__c"> <messaging:...
0
votes
1answer
425 views

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

I'm trying to understand the VisualForce code below to see what was written & is causing the error above: <messaging:emailTemplate subject="Your Offering Listing" recipientType="Contact" ...
0
votes
1answer
661 views

Use logged in user merge fields in visualforce email template

<messaging:emailTemplate subject="Case Report Type" recipientType="Contact" relatedToType="Account" replyTo=""> <messaging:htmlEmailBody > <html> <body> <style type="...
0
votes
0answers
33 views

Custom button functionality

I'm getting above error for sending email using apex class. I have a custom table and I have to design a method for button. In table their are so many records but whenever I'll select and record and ...
1
vote
1answer
164 views

VF Email Template

I need help in making the below scenario work . Below is the detailed explanation On the child custom object we have custom button send email which sends email to the selected child records . Through ...
1
vote
1answer
727 views

Unable to load VF Component in the VF Email Template

I am facing issues while developing Visualforce email template. I am unable to add VF components in the Visualforce email template. Looks everthing good to me, but not sure why VF Component not ...
1
vote
1answer
591 views

Japanese character displays in Visualforce template but in PDF it shows question marks (???) [closed]

In my company we use Servicemax managed package. In one of the transactions, we have a visualforce template that generates a report. When I check it in our visualforce page I see it like this: But ...
2
votes
1answer
2k views

Dynamic Subject in a Visualforce email template

This is my Visual force email template : Controller public class casetemplate{ public id accountid{get;set;} public list<case> getcases(){ List<case> caselist= [SELECT ...
0
votes
1answer
84 views

Visualforce Email template not creating attachment

I have a VisualForce template for an email, and this also has a PDF attachment similar to the email itself. When I run the Send Test and Verify Merge Fields it creates it fine, populates the fields ...
0
votes
1answer
383 views

How can I create CSV Attachment via Visualforce Email Template?

I'm trying to create a csv file attached to a visualforce email template. The csv file is based on a report that has a bunch of columns (fields) already, and all that I usually do is pass the Quote ...
0
votes
1answer
98 views

How to create page block in visual force email template

I want this type of table in email template but i can't use or . how we create this standard table by using css and html.
2
votes
0answers
42 views

Can I use a SelectList in a VisualForce email template?

I have a VisualForce email template which is used to send a list of products to customers. The products are listed in a table in the email and I would like the end column to be a picklist with options ...
1
vote
2answers
127 views

How to have a field display without a decimal

I have three fields in the subject line, the last 3, that are displaying the numbers with a decimal. The fields are rollup summaries. How can I get it so it doesn't show the decimal? <messaging:...
0
votes
1answer
256 views

Help with Visualforce Email Template

When we create an opportunity we create a certain number of quotes (custom, child record). I would like to be able to send an email to include information from all the quotes created under the ...
1
vote
0answers
48 views

Chatter to Apex: Getting Attachment

I am using rest api (ConnectApi namespace output classes) to get the chatter feed details of a particular group in my org and using Javascript remoting to display the elements in a custom vf page. So ...
2
votes
1answer
2k views

Multi-lingual Visualforce email templates

I have a requirement where on workflow rules I want to send out an email in the users preferred language, Is there a way to create multi-lingual visualforce email templates? here is the sample ...
1
vote
1answer
1k views

Displaying user's profile picture dynamically in email template

I have a requirement to display user's profile picture dynamically in the email template. Email template: <messaging:emailTemplate subject="Test" recipientType="Contact" relatedToType="Account"&...
0
votes
1answer
115 views

Contact Address Format

I am using the below Visualforce Email Template: <messaging:emailTemplate subject="Address Allignment" recipientType="User" relatedToType="Contact"> <messaging:htmlEmailBody > <...
1
vote
1answer
523 views

Add User Profile Picture to VisualForce Email Template

I have a running VisualForce Email Template for 'Case', and wish to include the Case.Owner profile picture. I am reading (here) that one can use either FullPhotoUrl or SmallPhotoUrl, but this doesn'...
2
votes
1answer
323 views

Visualforce component applyBodyTag work-around

I have a visualforce page and visualforce component. The visualforce page simply calls the visualforce component: <apex:page renderAs="pdf" applyBodyTag="false"> <c:Component /> </...
0
votes
1answer
926 views

VisualForce Email Template - declared 'htmlEmailBody' render as text

I have a VisualForce Email Template, which includes the 'messaging:htmlEmailBody' decleration. When testing in the preview editor, the template renders the HTML as needed: When the Email is sent to ...