Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Unable to load targetData in preview using seed address.

Avatar

Avatar
Level 1
krishnakanthnaguru
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
krishnakanthnaguru
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
krishnakanthnaguru
Level 1

30-07-2020

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

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Contributor
MVP
Milan_Vucetic
MVP

Likes

166 likes

Total Posts

384 posts

Correct Reply

135 solutions
Top badges earned
Contributor
Springboard
Shape 1
Validate 25
Validate 10
View profile

Avatar
Contributor
MVP
Milan_Vucetic
MVP

Likes

166 likes

Total Posts

384 posts

Correct Reply

135 solutions
Top badges earned
Contributor
Springboard
Shape 1
Validate 25
Validate 10
View profile
Milan_Vucetic
MVP

30-07-2020

Hi @krishnakanthnaguru

check this link: seed proofs

Regards,

Milan

Answers (1)

Answers (1)

Avatar

Avatar
Establish
MVP
wodnicki
MVP

Likes

976 likes

Total Posts

1,096 posts

Correct Reply

514 solutions
Top badges earned
Establish
Affirm 500
Contributor
Shape 1
Give Back 100
View profile

Avatar
Establish
MVP
wodnicki
MVP

Likes

976 likes

Total Posts

1,096 posts

Correct Reply

514 solutions
Top badges earned
Establish
Affirm 500
Contributor
Shape 1
Give Back 100
View profile
wodnicki
MVP

31-07-2020

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