AMPscript Lookup fails to find record
Having trouble with lookup not returning what's expected.The @LOTeamName is what I'm having trouble returning. No errors when I run it, it just doesn't return anything even though I know it's...
View ArticleRequestParameter in Ampscript and how it is used?
We have a html form and from this form we fetch email address.For example, the form input field looks like this,<input type="text" name="EmailAddress">Then there is the amp-script code to fetch...
View ArticleHow to find the Page ID of the same page where the AMP script is written
Print Page ID on Landing page using AMPscriptI am in the process of creating a page to store information from customers who come to the landing page. I want to write it as follows, and I have had no...
View ArticlePre Header in Salesforce
Ive created a data extension with several attributes , one of them being pre header. This is where my content lies.When I add ampscript in my email it pulls the pre header however when I do the real...
View ArticleHow to update data on data extension using AMPscript?
I need help with updating existing data in a data extension. When a user clicks on an email link to change their status, I need it to be changed in the data extension. For example, if user A has status...
View ArticleWeb Analytics Connector customization
I have to setup my WAC configuration including a IIF() function to detect if linkname contains the "%" char. In case of yes, I will include one AMPSCript var I am setting up in the context called...
View ArticleMarketing Cloud: AMPscript redirect not working
When trying to use 'redirect', my 'starting' page will no longer load (returning the 500 error). Not sure what I'm doing wrong here. FYI: If I remove the redirect code, the page loads just fine. Here's...
View Articleupdate preferences from a community page to salesforce marketing clouds data...
I would like to know if I could update the preferences of a subscriber from the community clouds page to SFMC's Data Extension.
View ArticleAMPscript: Pull data extension row count
I'm trying to use AMPscript to pull the number of rows (all rows, rather than matching to a specific variable) in a data extension and insert that variable into an email. However, the variable I'm...
View ArticleAmpscript Personalization String for Subscriber CreatedDate in Email
I am trying to check the created date for a subscriber upon sending an email to them. I then want to use that value to do something different in the email if the Created Date is today to basically...
View ArticleTrack Email Code snippet included in email, yet no opens are being recorded
I'm using the data view to query opens for the last 30 days. It's been working for the past 2 months.My devs just re-wrote our HTML based email with it's ampscript but the code is still there. I...
View ArticleUse ampscript to check data extension has an EmailAddress field
I've got a custom process which allows users to match manually uploaded data to SF ContactID values. It relies on the EmailAddress field being called EmailAddress and having the correct field type to...
View ArticleAMPscript Current Sunday
I'm attempting to build a call by date and have that date be the Saturday of the given week. These emails are sent Monday - Friday, I'm struggling to lock down the AMPscript for it. Here is what I have...
View ArticleHow to end BuildRowSetFromString in a period
In my DE, I have a list of last 4 of account numbers in one field. The list is delimited by a pipe and will be different for each record in the DE (could be 2 account numbers, could be 100 account...
View ArticleRequestParameter and view_email_url
Is it possible to send extra parameters to view_email_url and then pick them up and use them on the web version of the email? I would like to do this so I can perform different actions, such as display...
View Articleampscript lookup does not work when field length of the lookup field is not set
This is my amp script code :%%[ Var @email Set @email = Lookup("forgot_password", "email","locale","en-US")]%% %%=v(@email)=%%The locale field length in the data extension is not set (unlimited).I am...
View ArticleCustom CloudPage Preference Center
I'm trying to build a simple preference center using Smart Capture. I'm trying to have the user experience be when the person clicks the "Unsubscribe" CTA in the footer it sends them to a Landing Page...
View ArticleRequired Field Missing Error on Landing Page
I'm encountering the following error when I'm trying to publish landing page:Error Message: "Call to create the salesforceobject Account failed! Error status code: REQUIRED_FIELD_MISSING Error message:...
View ArticleRead all request headers on CloudPage server side without knowing their names
I need to store whole HTTP request made to a CloudPage for audit purposes. I'm able to log everything besides headers. I'm unable to read all of them with ampscript or SSJS without knowing their names...
View ArticleAn unrecognized expression appears in a script block. Script Expression:...
When previewing my email I get the following error message: An unrecognized expression appears in a script block. Script Expression: < MemberID: XXX JobID: 0The error appears to be related to the...
View Article