9 votes
Accepted

Accessing data from journey object/event in Emails using Journey Builder

You can access data from your entry event like this: First you need to find out the path of the data you like to access: Go to Email Studio -> Subscribers -> Data Extensions Find the automatically ...
user avatar
9 votes
Accepted

Content builder HTTPS

You’ll need an SSL certificate and the images that you host on Marketing Cloud will also be secure if you purchase 2 SSL certificates. There are two configuration options for the SSL certificate:  ...
user avatar
  • 4,343
8 votes
Accepted

Upload PDF to Content Builder using REST

As per your post I was able to upload a pdf file into sfmc content builder. It took me a little while to gather all the necessary attributes but it is all available in REST Reference API. Here are ...
user avatar
  • 3,085
6 votes
Accepted

Responsive width on ContentImagebyKey

As I inspected, the ampscript function outputs the very basic image html attributes. <img title="xxxx" alt="xxxxx" src="public url of content" border="0"> I found the best way to add ...
user avatar
  • 3,085
6 votes
Accepted

Attach a file in email from Content builder

Yes you can, but you have to first ask support to turn it on: Contact your account representative to have this feature enabled for your account. You must be familiar with AMPscript to send emails ...
user avatar
  • 10.4k
6 votes
Accepted

Timeout HTTP.Get

The window/document setTimeout function's browser based. This is SSJS and there's no window or document object to provide this functionality. You can use the Script.Util.HttpRequest() function to set ...
user avatar
  • 7,766
5 votes

How do I pull a Content Block into my email

You'll need to use ContentArea() or ContentAreaByName() in Classic Content.
user avatar
5 votes
Accepted

Using AMPscript to populate inline style attribute values

I think the output() function in your content block is causing the extra divs. I'd code the content block like this: %%[ var @color if @colorName == 'head' then set @color = '#CD6155' elseif @...
user avatar
5 votes

Change email content when email is in actived jounery

Using content builder or editing the e-mail node within the journey, you can update content (even when the journey is active). Anyone new entering the journey or who hasn't received that e-mail yet ...
user avatar
5 votes
Accepted

Connect SMFC to Github

I have been using this approach to host my Cloud Page code in a private GitHub repo. You should create this private repo, along with a personal token, so Cloud Pages can fetch the code while this is ...
user avatar
4 votes
Accepted

Background images in Content Builder

No, it's not possible in SFMC. There are several ways to approach this. The best way I've seen is to break up the email components into Content Areas. You could do something like this: Upload ...
user avatar
4 votes
Accepted

Automate Content Builder Asset Creation

You have a typo in your endpoint. Try changing your endpoint from https://www.extracttargetapis.com/asset/v1/content/assets to https://www.exacttargetapis.com/asset/v1/content/assets
user avatar
4 votes
Accepted

How do I call a Content Block into an Email built with Content Builder?

For content stored inside of ContentBuilder, you will need to use the 'new' AMPscript functions. Not sure on the details of why, but in building Content Builder / Email Studio, they completely ...
user avatar
4 votes
Accepted

AmpScript Block with Content Builder

AMPScript is definitely supported in Content Builder. AMPScript typically does jack up the code in the editor. Here's a little trick I use to "pretty up" the AMPScript: %%[/* Modify to view ...
user avatar
4 votes
Accepted

How would you use ampscript to determine the 1st Friday, 2nd Friday etc. of the month?

It is a bit 'wonky', but this should do it (and it includes the possibility for a fifth Friday): %%[ SET @SubDay = SUBTRACT(DatePart(Now(), 'Day'), 1) SET @Negative = SUBTRACT(@SubDay, ADD(...
user avatar
4 votes
Accepted

How do I create a customized Content Block

The Content SDK is complete. As per the readme, it exposes the following five JavaScript methods to use in your Custom Blocks: getContent(callback) - callback gets passed a content string setContent(...
user avatar
  • 15.6k
4 votes
Accepted

Why are all AMPScript links broken when "Track all links in this email" is selected?

Your link example is malformed. You need to call the AMPScript variable via v() in order to insert the value into the 'live' HTML. There are other functions that will also output the value, for ...
user avatar
4 votes

TreatAsContent, Tracking, and Errors in Templates - an AMPscript riddle

There are a couple solutions to this: Using single quote (but keep in mind, this limits the content as well, e.g. Ronald's car would cause the same issue as your current double quote issue. SET @...
user avatar
4 votes
Accepted

Update the image in folder using REST API

To create a new asset inside of Contact Builder utilizing the REST API, you will need to use the POST /asset/v1/content/assets endpath. This will require you to provide a JSON with all the values you ...
user avatar
4 votes
Accepted

Can I change email content without stopping a journey?

You don't need to stop the journey in that case. Each email activity in Journey Builder creates a triggered email interaction in the background, that you can publish the changes to. There are two ...
user avatar
4 votes
Accepted

AMPHTML In Marketing Cloud

This would require SFMC servers to support a third MIME type. So there is not a way to send out of SFMC. You can help vote for the idea here 'Support Google AMP for Email or AMPHTML as a MIME version ...
user avatar
  • 7,387
3 votes
Accepted

Calling content areas new content builder

For Content Builder Blocks, you need to use ContentBlockByID or ContentBlockByKey to call them. The Content area functions are only for classic email editor.
user avatar
3 votes
Accepted

Marketing cloud content builder - possible to change tab name when opening mail in browser?

You need the change the "Title" element in the head section of your email/template code to change what's shown on the browser tab... <head> <title>What I Want to Show On The Tab Title&...
user avatar
  • 7,766
3 votes
Accepted

How to get FromEmail in _Job in Email Content?

You can not get the FromEmail during previewing the email because JobID will generate after completion of email sent and your AmpScript code is not coded properly. Also, I don't think so there is any ...
user avatar
  • 1,804
3 votes
Accepted

Email Width and Outlook 2013

This is not actually anything from SFMC, but an Outlook issue. See below for more information on this issue. Your best two solutions are to: Resize the actual hosted image to the maximum width/...
user avatar
3 votes

How to query by asset type in Content Builder Api

Here's information about the assetType property, and here is a list of the asset types. There hasn't been documentation released yet regarding filtering for these routes, but this should work in the ...
user avatar
  • 31
3 votes

How to Approve the Emails automatically

You need to disable Approvals in your account in order to enable sending unapproved emails. As far as I know automatic approval on a per user basis isn't available and if this feature is enabled, ...
user avatar
3 votes
Accepted

Marketing Cloud, changes to template after content blocks added

Updating all emails using the template is currently not available in Content Builder, however you can update the emails one by one instead of creating new emails. You can find a detailed guide in the ...
user avatar
3 votes
Accepted

Move a Content Builder Email from one Business Unit to another

In the current CB system, you can share from BU1 to BU2, then from BU2 copy that email, and from BU1, delete it. Doesn't work if you want to keep the exact same email (new jobs won't know it's the ...
user avatar
3 votes
Accepted

HTML editor error in content builder

EDIT: Thanks to your screenshot I now reproduced the issue and have a workaround for this that might be easier to put into action as you are possibly migrating a lot of emails and changing every ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible