Questions tagged [email-template]

Salesforce email templates come in a variety of shapes and sizes, ranging from Text to Visualforce. These email templates can be used through Salesforce through approval processes, workflows, etc to send email to users.

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

Is there any restriction to view lightning component in Visualforce email template?

We have a requirement to build a custom visualforce component for VF email template and in that we are trying to display a lightning component. The lightning component is visible when we preview the ...
0
votes
1answer
19 views

Merge fields not populating in email template

I created a classic email template and have merged fields from a custom object called Order (not the native Salesforce Order object). The following merged fields don't seem to work: Order Name: {!...
1
vote
1answer
18 views

Conditions in Handlebars Merge Language: how to avoid empty lines?

In a Lightning e-mail template, I want to conditionally add links to photos, like this: {{#if Case.Photo_1_relevant__c}}{{{Case.Photo_URL_1_as_link__c}}}{{/if}} {{#if Case.Photo_2_relevant__c}}{{{Case....
0
votes
1answer
11 views

How to use conditionals in an apex: repeat and place a custom link in a visualforce email template?

I am creating a visualforce email template that sends contact data to salespeople. In this email there are two points that I am not able to advance: In the section "Informações sobre o ...
0
votes
0answers
30 views

Creating a new Child Business Unit(BU) in order to given access to shared DE for Email Developer

We have a single Business Unit (BU) for our organisation. We are working with some external agency who design email templates for us. We want to give them access only to 4 Data Extension and not other ...
0
votes
0answers
21 views

Dynamically populate VS Email template in Apex Triggers

I have a custom object created and upon update or create I have to have an email sent out. I am trying to changes values within a VS email template according to the Trigger. I am also doing a small ...
0
votes
0answers
12 views

Add a record link in HTML email body

we are using a Action layout editor to enter a new email from activity component, we want the users to get the predefined value upon creation of email, everything is working except the HTML body, we ...
1
vote
0answers
12 views

Salesforce Enable/Disable some portion of email template

I have a requirement to make some of the portion of a paragraph in an email template editable and other not. Let's say we have a para of 4 lines, I want to allow user to edit only the second line of ...
0
votes
0answers
23 views

is that possible to force them to have id in email subject or body

I am using 'Send an Email' button to send an email. I m using a URL hack to populate the Id to store the reference of the record in the email So when customers reply to that email then we use an email ...
0
votes
1answer
12 views

Unable to display relatedlist in visual force email template

Hi in the below visualforce code i am unable to display orderItem related list .the custom related list object orderItem is a managed package, to show the related list i have taken the masterdetail ...
-1
votes
0answers
25 views

interactive email template in marketing cloud with Ampscript

I'm trying to add some form detail into my email to fetch the customer data from a form and store it in a data extension but it's not storing the data. CODE: %%[ IF RequestParameter("submitted&...
0
votes
0answers
11 views

How to add UTM params to a Community Welcome Email (Visualforce)

(Full disclosure: I'm a bit of a n00b with SFDC) I want to add Google Analytics UTM parameters to a button element on our Community (now Experience Cloud) Welcome Email. I moved the template to ...
0
votes
1answer
26 views

Access child object fields on custom classic email templates

In my use case, I have 2 objects called 'Object A' and 'Object B'. 'Object B' contains a master-detail relationship to Object A. I have an email alert which has been set up on 'Object A'. In the ...
1
vote
1answer
103 views

This template doesn't support SML merge fields

I am working with an HTML template that includes <message:emailTemplate> and <messaging:HTMLEmailBody>. We are currently using Lighting experiences so the error is saying This template ...
0
votes
0answers
29 views

Delete or change on behalf from mail

I know it has been answered but there are different opinions about how to do it in a community. Using apex is clear (if i understood correctly): Messaging.SingleEmailMessage mail = new Messaging....
0
votes
1answer
17 views

Get last created related object data in Visualforce Email Template

I have a Visualforce Email Template which is as follows <messaging:emailTemplate recipientType="Contact" relatedToType="Case" subject="Test"> ... <apex:...
0
votes
0answers
20 views

From Field blank while sending email from record

One of my users is trying to send an email from a record page. but while sending the email from is blank and it's grayed out. The user is not able to send any email because of this. I know by adding ...
0
votes
1answer
29 views

Email Journey to support segmentation, multiple storefront branding themes?

I am currently trying to integrate Marketing Cloud with our website repository to set up automated Abandoned Cart emails. I am trying to figure out if it's possible to add customized data alongside ...
0
votes
1answer
20 views

How to convert HML to SML with a flow formula

I'm trying to work around a requirement with the Send Better Email Flow Action to have a recipient contact record, when using email templates. My use case, is that I'm sending 'case opened' emails to ...
0
votes
0answers
19 views

Updating The Email Change Verification URL

Am looking to update the verification link that is sent out when a user changes their email on our community (VF) storefront. I have checked the email templates and see the merge field, but cannot ...
0
votes
1answer
22 views

Can Lightning Email Templates call cross object merge fields?

Salesforce recently released a new version of the Lightning Email Templates promising Email template editor that don't suck. I've tried to find any documentation relating to calling the cross object ...
0
votes
0answers
22 views

Not able to send emails as Site Guest users, using Messaging Class

The below code runs fine with Salesforce internal users, but throws an exception while run by Site Guest User. List<Messaging.SingleEmailMessage > msgList = new List<Messaging....
0
votes
1answer
35 views

Update failed. First exception on row 0 with id **********; first error: TEMPLATE_NOT_FOUND, [duplicate]

I am facing the below error Exception Details: Update failed. First exception on row 0 with id *************; first error: TEMPLATE_NOT_FOUND, The record couldn't be saved because it triggered an ...
0
votes
0answers
18 views

How to disable WAC query string on a specific link, but not disable regular link tracking?

Setting a variable with the complete A tag does make the WAC ignore the link, but it also gets ignored by the regular link tracking function. Is there a way to make a link be ignored by WAC, but not ...
0
votes
0answers
23 views

How to have the browser link generated automatically to view the email in a browser?

As of now, every time I make an email template in Salesforce, I need to manually make a browser url link to view the email also in a browser. Is it possible in Salesforce to somehow have the browser ...
1
vote
0answers
20 views

Community Welcome Email Translation in 8 other languages

I am using classic Email Template with html version to send the welcome email. For the translation I am using custom label {!$label.label_name}. If I select the language french in community the email ...
0
votes
1answer
23 views

Get Data From Email Template Merge fields in Lightning Application

I have created one Lightning application which has form with lightning checkboxes and lightning input. The application has salesOrderId which is field of SBQQ__Quote__c(Quote) object. I have Use ...
0
votes
0answers
10 views

Hiding sections of email component

There is a requirement where the agents will be using service console to manage the case records. To support the requirement, I have added the Chatter Publisher component in the Lightning page. I have ...
0
votes
1answer
15 views

How can I show a list of objects that have “Review” as the parent object in Visualforce email template?

I am trying to create an email where it will show the recipient a list of the "Review Accounts" associated with the "Review" object. Where "Review Accounts" is a Child ...
0
votes
1answer
38 views

How to use SSJS in side the email template content?

I have try to use SSJS and AMP scripts using microsite urls its successfully working. I am struck when I use directly SSJS and AMP script in inside email template. Using SSJS how to retrieve, insert, ...
0
votes
2answers
68 views

Having issue with Email personalize with %%First Name%%

I have created an email template on Salesforce Marketing Cloud and I want to add %%FirstName%% personalization string to it. However, I haven't been able to do so after trying different syntaxes. ...
0
votes
0answers
20 views

URLFOR not working in visualforce email template [duplicate]

I have a custom object 'Invoice' that has a lookup relationship with Contact. The invoice object stores pdf files in 'Notes & Attachments'. I want to send the URL of the files in a visualforce ...
0
votes
0answers
20 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
1answer
48 views

Attach dynamic files to emails

I want to send auto emails to contacts with the related file. Each contact has its own file. I can't do this with the classic templates. Is there anyway to achieve this?
0
votes
2answers
54 views

Have Email Alerts stop working?

Is any one else experiencing issues with Email Alerts? All the Email Alerts have stop working in all our subscriber Orgs, the workflow runs (we validated by adding other actions) but the email is ...
0
votes
0answers
9 views

SF email to Case, Email body is receiving as attachment

In email to Case Salesforce, when a client replies to email, The whole body of email is empty and everything is coming as an attachment. Can you please help what could case this issue.?
0
votes
1answer
21 views

Email Alert not Sending

I have an email alert I want to send only when a Lead is created by user 'Request for Information Guest User'. The email should be sent to the create Lead's email listed in the 'Email' line - Is ...
0
votes
1answer
38 views

Report for Email Templates Used In The Past

We have around 3000 templates created since our Business Unit was set up and most of them were of one time use only and never deleted after the use. How/If we can pull a report in Marketing cloud to ...
0
votes
1answer
32 views

How to display recently created record link in visualforce Email Template without using an Apex Custom Controller?

I have objects with lookup relationship "A"(Parent) and "B"(Child). Email need to be sent to User whenever a New record "B" is added on "A" and Email body ...
0
votes
1answer
47 views

How to Dynamically Use Parameter in CloudPageUrl From DataExtention?

I have a email template from wher we have a custom link for a cloud page(Unsubscribe Page). We are using cloudpageUrl() function to open a cloud page and page value to it. It works fine when we just ...
1
vote
0answers
35 views

How can I use RegExMatch to minify CSS?

The use case is that I have created an email template in SFMC, and I am including the CSS via %%=ContentBlockByID('xxxxxx')=%% I would like to use RegEx to minify the CSS at the point which it is ...
0
votes
0answers
30 views

Campaign information not show in email

Want to send mail to all the campaign members. I used the following template with campaign information. salesforce can send mail perfectly, just without the campaign information. Dear member, check ...
0
votes
1answer
50 views

Workflow Target user Fields are coming through null. I can't find documentation on this anywhere

I can't find any specific documentation on this anywhere, but surely the following fields should pass through right? {!Target_User.Manager} {!Target_User.Name} {!Target_User.Id} I have the following ...
0
votes
0answers
26 views

Render text to Text Body field of Email Message Object Through Process Builder

I am trying to insert an email message from process builder and want to access an email template while doing the DML to populate the text body field. It seems like, email template id is accessible ...
0
votes
1answer
29 views

How to Display Case Number on automatic email response with Email-to-Case

I am trying to include Case Number of an email template for an email-to-case. Basically, when a client sent an email to a closed case, he received an automatic email reply. I would like the automatic ...
0
votes
1answer
18 views

Merge User fields in Visualforce Email Template

I am creating a visualforce email template on a custom object. I want to add the Name,Email, and Phone of the User (object) who is sending the email. I have tried both {!relatedTo.User.Name} and {!...
0
votes
1answer
15 views

Cannot choose related Lead in email alert salesforce

I have a custom object called 'Interview' which has a Lookup relationship with Lead. When an interview is arranged, I want the process builder to send an auto email to the lead. Unfortunately, there ...
0
votes
1answer
55 views

Interpret Ampscript variable saved in a data extension field value

I'm facing an issue trying to evaluate a concatampscript function and variable saved in a data extension attribute. I tried to evaluate them with treatAsContent function but it's still not evaluated. ...
1
vote
2answers
45 views

VF Email Image loads when sent via 'Send Email and Verify Merge Fields' but not by community

I am currently trying to create a Welcome Email for SF Community. The email includes an image stored in Static Resources (Cache-control = public). When I tested initially using "Send Email and ...
0
votes
1answer
12 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 ...

1
2 3 4 5
23