Skip to main content
Jul 30, 2020 4:59 PM UTC
Solved

Unable to load targetData in preview using seed address.

Hello Everyone,

I'm trying to send proof of SMS delivery template. The delivery contains targetData for personalization. So I created a seed address and added relevant additional data.

But when I'm trying to preview the content using seed address, all the targetData personalization fields showing up as undefined.

 

The syntax I used for creating additional data is 

 

 

<targetData> <testData testProductName="xyzProduct" name="Krishna"/> </targetData>

 

 

The syntax I used in the SMS delivery is

 

 

Thank you for purchasing <%= targetData ? targetData.testData.testProductName:"" %> <%= targetData ? targetData.testData.name:"" %>

 

 

The result in the preview tab

 

Thank you for purchasing undefined undefined

 

 

Did anyone else encounter this issue? Can Anyone suggest a workaround or identify any mistake in my syntax?

I'm getting targetData undefined when trying to send the proof as well.

 

Thanks,

Krishna

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Milan_Vucetic
Milan_VuceticAccepted solution
Level 9
Jul 31, 2020 6:48 AM UTC

Hi @krishnakanthnaguru

check this link: seed proofs

Regards,

Milan

3 replies

Milan_Vucetic
Milan_VuceticAccepted solution
Level 9
Jul 31, 2020 6:48 AM UTC

Hi @krishnakanthnaguru

check this link: seed proofs

Regards,

Milan

Translate
Aug 7, 2020 7:17 AM UTC
Hey Milan, Thanks for the link provided. I was looking to use actual targetdata added in the seed address. However your answer helped me
Translate
Jonathon_wodnicki
Community Advisor
Community Advisor
Aug 1, 2020 5:41 AM UTC

Hi,

 

Your syntax is fine, this looks like a bug in Campaign. Which is weird since it lines up with the example front and center of seed form UI.

Alt way to preview is to use enrichment(s) to generate arbitrary temp tables to recipients and send to recurring template with same content.

 

Thanks,

-Jon

Translate