Retrieve status of automations of all child BUs from enterprise BU
Below is the code which I tried, but when the automation is erroring out the status is populating as paused, scheduled, stopped. The error status is not population.Code:<style> body, a, input,...
View ArticleSend data from one CloudPage to Another
I have a cloudpage that register some customer infos(Fname, Lname, Id...), and theses info needs to be transferred to another CloudPage in order to display the correct Content for that Customer, I'm...
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 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 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 ArticleSubmitting HTML characters to a Data Extension via Landing Page and SSJS
I have tried to push data to data extension through a landing page using SSJS. The form fields contain HTML characters (which will import to the Data Extension fine). I'm getting this error when I...
View ArticleMarketing Cloud send to Campaign personalization
Trying to show personalization strings from Campaign and CampaignMember object when doing a send to Salesforce Campaign via Marketing Cloud and later also pass these on to a Cloud Page. Based on this...
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 ArticleCloudPage Help - How to lookup value from DE but return a different value
On a CloudPages confirmation page I'm trying to write a code to lookup a value from the DE and based on their survey responses, output recommendations. For example, the DE could say 'SUV'. So on the...
View ArticleSystem.Data.DataRow[] Output from AMPscript variable
My "uniqueID" variable is outputting System.Data.DataRow[]. I'm trying to display the value on the page upon success.<div class="container"><div class="row"><div class="col-md-6...
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 ArticleSFMC Cloudpage Execution Context is always load
I am making a cloud page to be a subscription centre. When the page is requested with a GET I want the user to submit a form on the page. When the page is requested with a POST, I want to unsubscribe...
View ArticleMarketing Cloud: pass system VAWP view_email_url as a parameter to VF page
We link to a customer profile center like this:SET @clientkey = [Id]SET @clientkeyencoded = URLencode(@clientkey,1,1)SET @URLprofile =...
View ArticleRecommended approach for coupon assignment in SFMC?
In SFMC, we are currently using claimrow() approach for coupon assignment but in past we have seen some issues with this where same coupons getting assigned to same subscribers since coupon email is...
View ArticleHow to update salesforce custom object (Customer__c) OptIn field value from...
I have a scenario, 1 DE (Customer DE with SubscriberKey, OptIn, Status, OptInDate attributes) with some records. I want to update the salesforce Customer__c object records OptIn (Yes/No) if...
View ArticleDynamically Populate Email Name?
I am wondering if there is a way to use AMPScript to dynamically populate email name. We fill in email name in our URL string, but we need to create multiple emails with different email names if we...
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 Article500 error on Cloud Page
Here is the code on my cloud page. I'm a trying to change the status of a campaign member to Responded if they click on the RSVP button in an email. I am getting a 500 error. Does anyone see anything...
View Articledynamic from name for SMS
Is it possible to change the from name (sender ID) for MobileConnect with ampscript? Based on telecom regulations we need to send SMSes with different from names based on which country we're sending...
View ArticleAmpscript - Dynamic UTM parameters
I've figured out how to put in dynamic utm parameters to append to all links in an email with the below ampscript.%%[Var @campaign, @pcodeSet @campaignID = "%%campaignid%%"Set @pcode = "%%pcode%%"]%%My...
View Article