How to reference another data extension using ampscript to populate dynamic...
Still learning ampscript and its functions and need to ask a question as I'm going around in circles. I have an email which is sent to a list of subscribers. Within the send data extension I have a...
View ArticleAMPScript For Loop Dynamic Variable
I am trying to get a dynamic variable set inside a script block with AMPScript.Here is what I got:FOR @i = 1 to 5 DO TreatAsContent( Concat( "SET @Test", @i, " = ", 'some value' ) )NEXT @idSET...
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 ArticleWhatsApp not executing the AmpScript function
We are using a Cloudpage to track whether the WhatsApp CTA links are clicked. For this, a Cloudpage is embedded in the Meta template as the base URL for the CTA, with UTM parameters dynamically added...
View ArticleGet ListID of a Subscriber's Publication List programatically?
Is it possible to get subscriber's ListID of a Publication List?A retrieve from _Unsubscribes gives me only AllSubscribers listID. I've tried every API from MC, I can't get that ListID. set @rows =...
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 ArticleNeed help with HTTPPost call in ampscript
I have the following codeSET @CallStatus = ''set @JSON = HTTPPost("http://someapi/bgcenter/","application/json","a=getSubLists&m=10790742&o=j&e=sometest@email.com", @CallStatus)I am trying...
View Articleexclusion script for a matrix based on criteria type
I'm trying to write an exclusion script based on multiple criteria. Here's my general setup:In my Sending-DE, I have a column called "criteria-type" - in my Exclusion-DE, I have 5 criteria columns...
View ArticleIs there a way to stop a send to an individual address if data is missing?
I'm new to Exact Target and as the question implies, is there a way to omit the record from being sent an email if the data used for personalization is missing in the list? I personally prefer sending...
View ArticleEmail Frequency Capping in Marketing Cloud Connect
I want to do the Frequency Capping to those Emails which are sent/triggered from the Marketing Cloud Connect.I know that we can add the exclusion Script to the Journey Emails, Content Builder Emails,...
View ArticleHow i can retrieve the the Suppression List data by email or subscriberKey...
<soapenv:Body><RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI"><RetrieveRequest><ObjectType> ListSubscriber...
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 ArticleAMPscript acronym
I've always wondered, what are the three 'AMP' words in the AMPscript acronym?I guessed it could be Adam's Marvellous Programming — but while Adam may be very knowledgeable in AMPscript, the language...
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 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 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 ArticleUsing date time of today in look up ordered rows -Ampscript
Im trying to use a lookupordered row expression to find rows that have a submission date of today and display them, unfortunately I am not finding any matches. I am unsure if my syntax is incorrect or...
View ArticleDay light saving in SMS using ampscript
We have written code Ampscript code to cover the day light savings for this year, but we need to update this code to work fork every year based on the day light saving dates(As day light saving dates...
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 ArticleAny naming limitations for Journey Builder ampscript variables? I'm getting...
Error message saysVariable value expression is invalid. See inner exception for detail.Script: set @TOTAL_VISIT_FOR_LIFETIME_CNT = [TOTAL_VISIT_FOR_LIFETIME_CNT]Variable Name:...
View Article