2

We're implementing Triggered Send functionality for real time email roll out in MC. We have also written AMPScript in email templates to fetch values from a custom object. As Triggered Send can work only with Contact and Lead objects, we're using AMPScript to dynamically fetch values from custom object records.

We have a DE (Data Extension) used to store records with Subscriber relationship as Subscriber Key relates to Subscribers on Subscriber Key.

While we are doing this, we're facing a issue during email send. While testing using "Generate Preview" button, "Subscriber Key" is getting changed to "Email Address" and MC throwing error. We've no idea why MC is changing subscriber id as email id.

Can someone help me out here, as this is a critical requirement am working on.

  • 1
    I assume you are using the AMPscript RetrieveSalesforceObjects() function. Please can you provide a snippet of the AMPscript code you are using? – Eliot Harper Sep 27 '16 at 23:52
  • Hey @EliotHarper, thanks for the response. Yes we are using the method which you mentioned. We got rid of that error now. It was due to an AMPSCRIPT error in a 'IF' loop. – Vignesh V Oct 3 '16 at 21:06
  • Thanks, perhaps you can answer your own question then and mark it as accepted, so that this open question can be resolved. – Eliot Harper Oct 3 '16 at 21:14
0

It was the AMPSCRIPT error in MC email template. Its fixed now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.