Calling an External API using AMPscript in SMS Asset. Unable to reference...
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...
View ArticleStrange behavior JSON data
In a data extension we receive some basic JSON data. Like this:[{"adressoort": 1,"is_ontvangstadres": "true","persoonsnaam": "Test","bedrijfsnaam": null,"postcode": "01234AB","straatnaam":...
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 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 ArticleDisplay no content if the condition is not met AMP script
I'm trying to build a dynamic email with different blocks displaying based on the if/else check. I can't understand how do I display nothing and go to the next step if the condition is not met.Here is...
View ArticleAccessing subscriberkey from a Cloud Page
So I've been through this question and the answers, but am still having some trouble building a CloudPage that retrieves SubscriberKey from the URL. It works if I hardcode a Salesforce record ID as...
View ArticleRetrieving Subscriber Key from All Subscribers list using AMPscript
I would like use AMPscript in an email to check whether the Subscriber Key already exists in the All Subscribers list at the time of sending an email.Obviously, I'm counting on the AMPscript being...
View ArticleConstruct date time string from current date time using AMPscript
I'm trying to construct a date time string using AMPscript in the format yyyy-mmm-ddThh:mm:ss based on the current time (where T is a letter). Is it possible to achieve this without using the Concat()...
View ArticleName personalisation AMPScript
We are building an email that has a concert ticket with a name box that pulls in firstname and surname. My issue is: I need to have it read "VIP MEMBER" for any firstname and surname that are less than...
View ArticleCloudpage reloading causing duplicate triggered send
I'm having an issue whereby i have a 'thank you' cloudpage which customer lands on after submitting a form in email. The cloudpage then sends a triggered send email.The problem is that customers are...
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 ArticleMail blowing up once i hit view on web on my phone
I'm using en email template that renders correctly. The issue is when I add ampscript to my code my email blows up (gets huge) when i hit vie on web on my phone. Everywhere else works perfect. It's...
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 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 ArticleCloudpage doesn't retrieve the subscriber to update their preferences
I'm setting up a subscription center. It seems like my code works fine when I open the link from the preview email. It recognizes the subscriber and updates the record without any issue. However, when...
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 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 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 ArticleHow to update the checkboxs dynamically in custom preference center page...
I have created one data extension using these fields 'name, email, checkbox1,checkbox2'. Also i created one custom profile center page like landing page using lookupRows function. My requirement is...
View ArticleUse Dynamic Link inside URL in SFMC passing JobID
I have the following problem, this has been killing me all day today. Even though a read the marketing cloud documentation about AMPscript, I couldn't use dynamic links inside the email that I sent in...
View Article