Quantcast
Channel: Active questions tagged ampscript - Salesforce Stack Exchange
Browsing all 357 articles
Browse latest View live

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 Article


RequestParameter 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 Article


Update 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 Article

Web 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 Article

Creating 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 Article


Track 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 Article

Using Guided Template language with Ampscript

I am using GTL with Ampscript to personalise an SMS by creating the task activity in Journey Builder which then talks to Salesforce data and triggers a SMS. I have used the description field to insert...

View Article

RetrieveSalesforceObjects 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 Article


Get 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


CloudPage 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 Article

Dynamically select an email based on a value in a DE

I have a request to select the email at time of send based on the asset ID within a DE. The number of asset IDs may change but it is deterministic. (value = 504). I am unaware how to do this using...

View Article

Read 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 Article

Retrieving 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 Article


Pass information from one page to another using AMPScript

We have to create a custom unsubscribe page in Marketing Cloud and we would like to know if it's possible to pass information from one page to another using AMPScript.On the first page, the customer...

View Article

Display 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 Article


Send 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 Article

An 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


Custom 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 Article

AMPscript: 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 Article

Ampscript GET view_email_url

Hello I have a problem with an ampscript code I can not get the online version and send it in salesforce cf the following code:%%[var @contactId, @campaignId, @id, @contactRows, @limitRow, @nom,...

View Article
Browsing all 357 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>