All Questions
Tagged with marketing-cloud content-builder
301 questions
0
votes
0
answers
28
views
Representing a custom Content Block in the Blocks pane of the Template Builder [duplicate]
I am working on template setup for non-html users- if I define a custom Content Block for a specific element(a button configured with certain colors and sizes, or a header block made in a HTML element)...
-1
votes
1
answer
49
views
How to format space in between bullet points in Marketing Cloud (No experience coding)
I don't have any experience coding and I don't know HTML, but I have a bulleted list in a Marketing Cloud email and I'd like to add some space in between the bullets. Ideally, someone can tell me ...
-1
votes
1
answer
73
views
How is an Einstein Email recommendations block created?
I have watched a thousand videos about Einstein Email Recommendations, read a thousand articles on the subject, but I have not seen any real or fictitious example of how to set up an email with ...
0
votes
1
answer
41
views
Roboto isn't working on Outlook web [Content Builder MCSF]
I'm trying to use the Roboto font in some emails, and in the content builder it actually shows the font working, but when I send it to Outlook it doesn't show the font correctly, it reverts to the ...
0
votes
1
answer
54
views
Using SSJS to change block in an email
I have folder containing multiple emails that share a common block. Is there any way I could build a SSJS script inside automation studio that would automatically change this specific block from all ...
0
votes
1
answer
40
views
Content builder - Formatting numbers of different lengths to show in different ways
Using content builder to create emails, and pulling numbers in from a data extension.
Some are 9 digits and some are 10 digits.
Using 'format number' to show spaces between some of the digits so they ...
0
votes
1
answer
144
views
HTML tel links not working on Gmail app
I have an email in Salesforce Marketing Cloud, created in Content Builder. The email includes a tel link that takes on a variable from a data extension and should enable the user to call after ...
0
votes
0
answers
85
views
Retrieve template based emails and their associated templates using the Content Builder API
I'm trying to retrieve emails and their associated templates using the Content Builder API. In Postman, I can find the template name field, but I can't access it using SSJS. Does anyone know how this ...
0
votes
1
answer
572
views
How can I find the content block location using the Id or Customer Key?
I have a few content blocks created in the content builder but am not able to identify them using the content block key or customer key.
Can you please guide me on any easy process to fetch the ...
0
votes
1
answer
125
views
Pre Header in Salesforce
Ive created a data extension with several attributes , one of them being pre header. This is where my content lies.
When I add ampscript in my email it pulls the pre header however when I do the real ...
0
votes
1
answer
295
views
Upload Images to Mkt Cloud Content Builder using a form in a Landing page
I'm using a form on a Mkt Cloud landing page that uploads images to the content builder.
To give you context, when the client uploads an image, we are storing other variables that are input in the ...
1
vote
1
answer
117
views
Calling an External API using AMPscript in SMS Asset. Unable to reference Columns from Data Extension in Payload
I have the following codesnippet which I reference as content block by key in my SMS Asset. Unfortunately I am not able to get the price from the API. How do I make the payload dynamic such that it ...
0
votes
0
answers
106
views
Unable to create html email asset in SFMC using REST API
I am trying to create an html email, which is already stored in a field of one of my Data extension. The email is retrieved correctly and even i am able to print it in cloud page, but i am getting bad ...
0
votes
1
answer
165
views
Patch request to update html content for an asset in SFMC
I am updating the asset in SFMC using the below mentioned API / SSJS code :
var assetIdToUpdate = "115271"; // Replace with the actual asset ID you want to update
var assetHTML = ...
-1
votes
1
answer
61
views
How to add get year in to EDM?
I'm adjusting my email and wondering is that possible to make copy write footer to add dynamic year?
For example when email send on 2024 then the footer will shows 2024.
Sounds shall be easy to ...
0
votes
1
answer
208
views
When using Cloud Page referencing an HTML Content Block to run SSJS
I was doing some hands-on exercises for learning SSJS using CloudPage calling a HTML content block for my ssjs script.
My question is : When creating a test stub cloudpage to run some ssjs exercises, ...
0
votes
1
answer
267
views
Preheader doesn't display when arriving in Inbox
I've set up a multiple communication journey which is sending around 10 emails.
For 3 emails out of 10, the preheader is being displayed normally when I receive it in the inbox but for other emails, ...
-1
votes
1
answer
478
views
marketing cloud advanced dynamic content email testing: sending all variations to one email address
I need to a send proof of a complex dynamic content email (20 variations) to a stakeholder on a monthly basis. I stumbled across a salesforce video that says I can create a data extension with black ...
0
votes
1
answer
119
views
Attachment sent incorrectly
I set up sending an attachment in my email using an amp script.
%%[
var @customerKey, @fileAlias
set @fileName = "https://drive.google.com/file/d/1234567890/view?usp=sharing"
set @fileAlias ...
0
votes
1
answer
458
views
What code in SFMC templates triggered the default header and footer and is it required?
In HTML emails (non-template based), it looks like customer HTML is NOT triggering the default header & footer, how come HTML email are able to go out without default header / footer and still ...
-1
votes
1
answer
101
views
Setting multiple First name in SFMC mobile connect
I tried to create multiple from name in mobile connect for a single Business Unit. But I can create only one in a bu. Do we have any other options to create multiple from name in a bu.
1
vote
1
answer
443
views
Image limits in Content builder
I found that there is a limit on the size of the image (5 MB) in Content builder
https://help.salesforce.com/s/articleView?id=sf.mc_ceb_supported_file_types.htm&type=5
But is there any limit on ...
0
votes
1
answer
502
views
File size limits in Content builder
To Content Builder, I can upload video file up to 5 MB per file:
https://help.salesforce.com/s/articleView?id=sf.mc_ceb_supported_file_types.htm&type=5
But how do you increase this limit? For ...
-2
votes
1
answer
195
views
Is possible to transfer assets to different SFMC accounts without any relation between them?
I know that we can use Package manager to tranfer Journeys, Automations, Activities, templates, etc... between different BUs, but we can use it also to transfer this assets to a different SFMC account ...
-1
votes
1
answer
165
views
How to fetch data from html tag that stored in Salesforce marketing cloud data extension? [closed]
Example :
I have stored below html tag as one field in data extension. I need to retrieve the href url from this. How to retrieve this ? and also How to retrieve "Visit google.com!" from ...
0
votes
1
answer
277
views
move emails from classic content into content builder using SOAP API
I'm trying to move email/email templates from classic content into content builder using SOAP API.
I need to move all emails under specific folder (01_2018), however I'm receiving error
<soap:...
-3
votes
1
answer
359
views
Change color of the text [closed]
I can't figure out on how to change the color of the text "This text should be black". for a HTML email in Content Builder
I've tried to change the color from the style of the text to #...
0
votes
0
answers
244
views
SFMC Preview shows wrong subject line in Email Studio (Content Builder)
An email contains HTML and Plain Text versions. Subject line is defined in code in both versions as:
set @Email_Subject_Line = "Original subject line"
Subject field is set to:
%%=...
0
votes
0
answers
159
views
Salesforce Marketing Cloud File Organization
I'm trying to think if there is anything in SFMC where if I start moving things around and folders around, it could break existing automated emails. I inherited a SFMC platform that is chaos. While it ...
0
votes
1
answer
554
views
SFMC marketing cloud - subject line contains special characters not showing up
I am trying to send an email with the following text in the subject text:
A closet refresh is calling 👕
with this subject text, the SFMC UI is not able to show the subject.
Any help on how to handle ...
0
votes
1
answer
92
views
How to add two variables of type date?
Good afternoon people!
I have a problem and after a lot of research I still don't know how to solve it
I have two variables @travel_time and @trip_duration, where I need to add the hours and minutes ...
1
vote
1
answer
179
views
Using field from DE in SMS message
I have a question.
I have two options of SMS message creating
Use AMPscript like in email building
%%[
var @fname
set @fname = [First_Name__c]
%%]
%%=v(@fname)=%%
%%[
var @row, @rows, @fname
set @...
0
votes
3
answers
193
views
Is there a way to "escape" HTML styles in AMP script
We have some basic content blocks with AMP script that we use in our emails (ContentBlockByID). The following AMP script is used:
%%[
if @XXXX == 'XXXX') then
set @text = 'Some text'
else
set @text ...
0
votes
1
answer
305
views
What happened to my microsites in SFMC? Classic Content discontinued
I used to have a very useful microsite, available only to logged-in users, which updated a query definition in Automation Studio via SSJS and ran it without needing to go through the Automation Studio ...
0
votes
1
answer
2k
views
How hide and display amp script from SFMC [closed]
I'm trying to hide %%=v(@left_title)=%% ampscript from the content display and when click on the preview it should be load the data for that particular variable. And also does anyone know how to ...
2
votes
2
answers
908
views
Dynamic Content with AMPscript: Reference data in a DE not used for sending
I am super new to the forum and new to AMPscript as well, so sorry if there's some imprecision in my question. :-)
I am trying to build some Dynamic Content for an email. I have 3 dynamic content ...
0
votes
1
answer
369
views
Add Internal Email Distro to All Marketing Cloud sends
We have 40 distributed teams that send emails and they use multiple lists and DE's. How can my team be copied on every email we send through SFMC? Other email platforms allow for you to CC an ...
0
votes
1
answer
633
views
SFMC Content Builder - Free Form Block with Images
We are trying to use Content Builder's Free form block for adding images by uploading them via UI and adding required details.
We have a use-case where we need to refer to these added image details ...
0
votes
0
answers
1k
views
AMPScript Lookuprows with multiple criteria in the same column
Is there a way to use multiple criteria when using the lookuprows ampscript function?
Example (which SFMC gives an error in that I can’t use the same column twice):
%%[
set @Category = "News&...
0
votes
1
answer
634
views
Preview and test email send - URL Expire?
I sent a test email on my address email a few month ago, and I wanted to take a look at the test email from that time and also check the URL.
I noticed that the URL expired. Is it normal for a preview ...
0
votes
1
answer
411
views
View in Browser redirecting to an Error Page
I understand that if a Data Extension is either updated or overwritten, the View in Browser Link breaks and the only way around this is to use Sendlog.
Is there a way of not using a Sendlog and use a ...
0
votes
1
answer
225
views
A Reference Block with link populated by Ampscript is throwing 404
Our emails are translated into 20 languages. The translations for each email are uploaded as a Data Extension with Country as primary key. Each email has its own DE.
One of the columns contains a CTA ...
0
votes
1
answer
112
views
.vtt file formats be hosted on SFMC - Content
Can .vtt file formats be hosted on SFMC? We are facing an issue hosting this file type. We want to add this to our Interactive CloudPage
0
votes
1
answer
436
views
How to optimize the email AMPscript code that has a lot of lookups?
I have built a dynamic email template. This email template pulls the data from the Data Extension based on email name ( example: subject line, pre-header, content area, headers etc).
For each field ...
0
votes
1
answer
966
views
Pass the value from email to a content block using AMPscript
In my email, I am calling a Content Block. The content block uses a lookup to pull out content from a Data Extension.
Example code in content block:
set @SourceDE = "DE_NAME" ...
0
votes
1
answer
739
views
Not able to call the Content Block in a CloudPage using ampScirpt
In our email we have multiple content blocks and I am trying to call the content block within a cloud page using a simple AMPscript code something like below
<!DOCTYPE html>
<html lang=&...
0
votes
1
answer
482
views
How to convert the String to a ampscript code in email?
I am storing the email content in the google sheet and then importing it into the data extension. The email is dynamic & is fetching data from the data extension.
For one of the fields i,E URL , I ...
0
votes
1
answer
2k
views
Ampscript and IF statement to get data from two different data extensions
I have two data extensions:
Data extension 1: API_Onboarding_OnlineMemberships has the following column: SUBS_START_DATE (this DE gets the emails)
Data extension 2: Customers has the following column:...
0
votes
1
answer
351
views
ContentBlockById and For Loop
I have a problem with this Loop because there are 8 rows in the DE and when I execute the code below, the preview only shows 6 content blocks.
The last one it displays, also has a loop inside and ...
1
vote
1
answer
660
views
Extract Text Version of the email body with no html tags using REST API from SFMC
I was trying to extract the email body (text version) with no html tags from SFMC. But I had some hard timing on how to filter out the nodes in the email content to get the expected result, I couldn't ...