IF Statement not closed error
I'm getting an error with an IF statement, even though it was working previously.This is my code:Hello %%[IF Empty(@firstname) THEN]%%homeowner, %%[ELSE]%% %%=ProperCase(@firstname)=%%,%% [ENDIF]%%This...
View ArticleSending AMPScript Variables to a Landing Page from Mobile Push
We're trying to send some variables to our landing page that are set within AMPScript through a Mobile Push.Within the setup of that Mobile Push (in the Alert Message), we have something along the...
View ArticleCC'ing using AmpScript
Im trying to use AMPSCRIPT in the CC portion of the Journey. Since understanding Ampscript reads top down, and I can't declare the CC field in the body of the content, I have tried using these two...
View ArticleLimiting Submission of a Certain Field on a CloudPage
I have a CloudPage being used to collect appointments for a meeting time. I have one CloudPage, and five time slots mapping back to data extension, specifically to the field "Time." "Time" is a text...
View ArticleSend emails in Marketing Cloud without an email address in data extension
Im creating a transactional journey that is passing along an ID, which is related to a contact (field on Contact object in Salesforce) and which im pulling into Marketing Cloud. Im currently using...
View ArticleLinks with AmpScript Not Being Recognized in Journey Builder's Engagement...
I have a link in an email that has AmpScript in the url (https://somelink.com/group=%%SegmentName%%) and another link without ampscript (https://anotherlink.com/)The link without ampscript is...
View ArticleLookup based on result from another lookup
I have a table that returns MID based on a concat of id and csid that are in my list. This works as it should.Can I use the mid to do a lookup on another data extension to return an address? If so, how...
View ArticleEmail triggered send job stopped by AMPscript Decode function issue
I'm struggling a lot and not even support is being able to help me with this, hope that you can, and read any idea. I got an email with 8 different SKUs populating each one from two DEs.The code didn't...
View ArticleServer-side JavaScript and JSON
I would like to extract the data from a Data Extension column and parse it as JSON and use the data as attributes in an email. How would I go about doing this? Is there a combination of AMPScript and...
View ArticleRetrieveSalesforceObjects with date filter - Ampscript
I need to consult Salesforce records that where created in the last 7 days, but when I test the email it appears the following error:Call to retrieve records for salesforceobject Questionario__c...
View ArticleCreating new subscriber on ENT 2.0 account using ampscript
We are builing landing pages using ampscript to unsubscribe email address submitted via these pages. The pages should check for email address to existing subscriber and unsubscirbe them or create new...
View ArticleUpdate the DE using Ampscript from Cloudpage
I've developed a landing page with two submit buttons, CTA1 and CTA2. When a user clicks on CTA1, data should be updated/inserted into DE1. Similarly, clicking on CTA2 should update/insert data into...
View ArticleRetrieving images from RSS feed ExactTarget with AMPScript
I am embedding an RSS feed in an email using AMPScript. I am successfully pulling in the title, description and link, but I’d also like to include the image that’s part of the description in the feed....
View ArticleAMPscript code to pre-fill and update based on a form [closed]
I need help with the pre-fill and update part of this:Create four Data extensions:"Subscribers" with subscriber attributes: SubscriberKey, FirstName, LastName, EmailAddress, PhoneNumber, BirthDate,...
View ArticleHow to show place holder when value is ampscript?
When I want to see TT.MM.JJJJ as a default but because ampscript is used it shows dd/mm/yyyyI have added placeholder and timezone as well but it is not working. Could you please advise on that? set...
View ArticleUpdate Data Extension with keyword in Mobile Connect Text response
I was trying to trigger a specific MobileConnect text response keyword which should update a Data extension. When I add some ampscript to the outbound response, I get an error saying "There was an...
View ArticleAMPScript: How can use DecryptSymmetric() function to decrypt an encrypted...
I need to decrypt an encrypted string using AMPScript's DecryptSymmetric() function which is coming from an external system(PHP). I am not sure which algorithm PHP should use to encrypt the string, so...
View ArticleDisplay Error Message - AMP Script
I would like to display an error message in login page, if the credentials are wrong or invalid. error message like "Invalid Username / Password" should be displayed next to the login buttonhow can...
View ArticleAMPscript: Rounding a number in a text field that has several decimals
I have a text field that holds price values like 1190.00 and 1216.666666667.I've used AMPscript to round the numbers to 0 decimal places. Referencing this Q&A Round a number with AMPscript I'm able...
View ArticleGet Marketing Cloud UserID (numeric)
I'm currently following this guide:https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-programmatic-content.meta/mc-programmatic-content/createDataExtension.htmTo create a data extension via...
View Article