Prepopulate SmartCapture Form with AMPscript
I am trying to prefill a SmartCapture form using AMPscript and I am not sure why it is not working.In my org the API field Name for the contact Id is ContactId18digit__Here is my code:%%[ VAR...
View ArticleOvewrite a data extension field in the send log
I am trying to overwrite the data that comes into the send-log from a Data Extension field on an email send.I've researched UpdateDE but I'm not trying to permanently alter the data extension. I'm...
View ArticleAMPScript for REST API call in landing page
I'm trying to call REST API to display a push message that is sent from Marketing Cloud in landing page.How do I call the API? I was able to get the Token using the client secret and ID but how to pass...
View ArticleDynamic Preheader not rendering
I am aware of the bug about the preheader which is not displayed once the email is sent. I would like to render a dynamic preheader based on a field on a DE.My email is structured as follows: I have a...
View ArticleInserting data from data extension into email using ampscript
I'm trying to create a report like email that will send an email to me that includes all the data in the data extension. When I run do preview and test the email, I get the fall back message - No...
View ArticleIF ELSE Statement in AMPScript
I have problem with IF/ELSE statement in Ampscript ,as it is not going through else statementI have created a DE for couponcode Claimcoupon DE details(CouponCodeRedeem)CouponCode -...
View ArticleSmart Capture Form - insert record into Salesforce
I have a Cloud Page with a Smart Capture form. The Smart capture form works as intended and stores the information into a specific Data Extension.In addition to that, I would like to capture the POST...
View ArticleJourney Builder Engagement Splits on dynamic links
How do I know whether or not contacts are clicking links that are built with ampscript, like this: %%=RedirectTo(@store_link)=%%You'll notice in the image that the links that are shown are just the...
View ArticleHow 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 ArticleMarketing Cloud Subscriber Key not transferring ID
I have created a landing page in Marketing Cloud that interacts with my Salesforce Sales Cloud. This page is meant to be a custom landing page where users can opt out of specific email lists or...
View ArticleUnable 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...
View ArticleAmpscript Lookup function on field which is null
I am using this function:%%=Lookup("ENT.SBQQ__QuoteLine__c_Salesforce","SBQQ__ProductName__c","sbqq__quote__c", "a0n5E000002KZHQQA4", "SBQQ__Required", @required)=%%which works all the times (it...
View ArticleJavascript variable not being passed to ampscript when using Save button. The...
<form><input id="firstName" name="firstName" type="text" placeholder="First Name"><input id="lastName" name="lastName" type="text" placeholder="Last Name"><input id="email"...
View ArticlePassing info from a smart capture form into the thank you page
I've created a Data Extension with 14 fields in it. I've used that data extension to create a Smart Capture Form/Cloud Page. Under the submit options there are the Confirmation Message and URL Redirect...
View ArticleAMPscript Code Email
Hi I have 2 Data extensionUnique MOCredit Limit 80 out 100 used CCA 1001I'm querying Unique MO and for each unique Mo i have multiple dealers data in 2nd DE which is Credit Limit 80 out 100 used CCA...
View ArticleI tried to send email to contacts without adding duplicate reocords to all...
The request is we have one triggered send DE.we use api to triggered emails. One subscriber has 2 different email address but only one one time his contact should be added to the all subscribers. I...
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 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 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 ArticlePersonalization strings as AMPscript variables
This may seem like a seemingly simple thing to do, but I haven't had a need to tinker with AMPscript until recently. I'm merely looking up a value in a Data Extension based on a Subscriber ID. Here's...
View Article