Ampscript set variable not working
Given that I have already declared my variables... I am trying to set some values to those variables, based on whether a row of data already exists or not... VAR @brandID, @Content, @Header,...
View ArticlePrint AMPscript Variable inside HTML as attributes
So I am using ExactTarget templates and content areas to build my emails. In my templates I have AMPscript variables defined in the < head > and that will determine how elements in my content...
View ArticleHow to get status of query definition
I want to get the status of a query definition. I am interested in knowing if it ended up in an error or not.I run query definitions from a script, but I cannot access the information about whether...
View ArticleHow to prevent Content Builder plain text from designating the same link to...
The AMPscript is set up like this in Content Builder. Example:Content Block 1SET @linkButton = "link1.com"Content Block 2SET @linkButton = "link2.com"Content Block 3SET @linkButton = "link3.com"In the...
View ArticleI want to perform SUM in ampscript but the condition is if there is same...
Basically I am matching payment type for example : credit card $10 = credit card $10 just to avoid duplicates and if they match i want add whatever amount it hasSo that it will display payment type =...
View ArticleI have a problem using UpsertData, show me an error
I am trying to insert the responses of a form to a DE, but when the information is captured and I direct it to my cloude it sends me the following error{"message":"The function expression is invalid....
View ArticleHow to pull data from Data Extension to be displayed in Landing Page?
How to pull data from a specific data extension that can be displayed on a Landing Page using Ampscript?On the email I have this Ampscript which displays the Balance Points once sent on the Email...
View ArticleTriggered Send using REST API with Data Extension
I would like to substitute some variables in my email template using SFMC's REST API.For example, in my email: %%[Substitute_var1]%%When I call it through REST, how it's possible to substitute this...
View ArticlePopulating dynamic redirect in landing pages
We have a large survey which I have divided into 3 forms. On completion of each smart capture form I am trying to append some personalised elements so they get picked up in the next form so we can join...
View ArticleShortening URL with AMPscript (Bit.ly)
I am trying to send values to the cloud page. my code is this:%%[ SET @caseId = [CaseID] SET @lastremdate = [Last Reminder Date] SET @Subscriber_ID = [Subscriber_ID] SET @link =...
View ArticleImage Upload Feature on Marketing Cloud Landing Page Not Storing in Data...
I'm working on a project in Salesforce Marketing Cloud and need to create a landing page with an image upload feature. I have already set up a Data Extension named "ImageUploads" with the following...
View ArticlePassing value with InsertData to the DE in Cloud Pages with AmpScript doesn't...
I'm trying to create a technical and completely empty landing page in Cloud Pages that's going to be used for passing values to a Data Extension and then redirecting the person to website. I'm new to...
View ArticleAMP Script dynamic content in journey based on Salesforce data (synchronised...
I'm trying to create dynamic content to my journey email based on Salesforce data, so the synchronised contact data extension. I have the AMPscript code below, which I've tried but cannot get it to...
View ArticleCreateSalesforceObject creating duplicate records
I have been sending email campaigns using which my subscribers can click on a cta button and request a callback. This CTA redirects to a cloud page which consists of the AMPscript to create a callback...
View ArticleAndroid devices adding tracking data to tel: schemes in emails
I work as an email developer, I primarily work within Salesforce marketing cloud.In some of the emails I work on, we have two CTAs: 'Call Us' and 'Email Us'. Since the links are not a standard tag with...
View ArticleDynamic URL in Ampscript Variable
I searched the whole internet for the solution. Can't find it anywhere. Hopefully you guys can help me. I an Ampscript look I am trying to generate a dynamic URL + the actual HTML tags around it. I...
View ArticleWhat's wrong with my substring function?
I'm trying to loop through a string using AMPscript only and pick out specific values. The problem is once it tries to update the string using the substring function the cloudpage errors out.Example...
View ArticleMarketing Cloud Page try/catch question
I'm using ampscript to update Salesforce records using the UpdateSingleSalesforceObject function. This happens after the cloud page posts to itself and I use the RequestParameter function to grab the...
View ArticlePreview links and "View as Web Page" Solutions?
At my company, we need to send out preview links within the organization internally before a communication is sent out. In our past platform (MailChimp) the "View as Web Page" option allowed us to copy...
View ArticleHow pass additional values in Triggered Send DE and update the All Subscriber...
On the form submit I want to pass the following values in Triggered Send DEFirst Name as @first_name Last Name as @last_nameMember Number (This will be a unique number and I would like to set it up as...
View Article