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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

The 4th edition of the Campaign Community Lens newsletter is out now!
SOLVED

What does this error mean: "JST-#ID# Error while compiling script \'content htmlContent\' line 157: targetData is not defined. SCR-#ID# JavaScript: error while evaluating script \'content htmlContent\'."

Avatar

Level 2

Hi,

I am unable to send proofs when using a personalization block. It works fine when sending the delivery.
My delivery fails with the error message: "JST-#ID# Error while compiling script 'content htmlContent' line 157: targetData is not defined. SCR-#ID# JavaScript: error while evaluating script 'content htmlContent'."

Please help!

Thanks,

Vishal

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello Vishal,

Recurring Delivery in Adobe campaign is unique as compared to standard delivery. If you are using Recurring delivery Adobe campaign doesn't create a delivery instance until you execute the workflow/delivery. If you want to use the send proof, follow given steps.

1. Enable content approval in delivery; this is used to validate that you are using the correct content.

2. start/execute the workflow/this will generate an instance of delivery under delivery execution folder.

3. Go to delivery execution folder; you will be able to see your delivery, open that delivery from there.

4. Now you can see a button, send proof use that to send a proof, once satisfied approve the content.

1750246_pastedImage_0.png

Regards,

Venu

View solution in original post

3 Replies

Avatar

Community Advisor

Hello Vishal,

Please check the below similar thread and hope it helps

targetdata is not defined

Regards,

Venu

Avatar

Level 2

Hi,

Just realized that this happens when I am using a reoccurring delivery. For a one time delivery, the substitution of address works fine.

Why is that, can someone help?

Avatar

Correct answer by
Community Advisor

Hello Vishal,

Recurring Delivery in Adobe campaign is unique as compared to standard delivery. If you are using Recurring delivery Adobe campaign doesn't create a delivery instance until you execute the workflow/delivery. If you want to use the send proof, follow given steps.

1. Enable content approval in delivery; this is used to validate that you are using the correct content.

2. start/execute the workflow/this will generate an instance of delivery under delivery execution folder.

3. Go to delivery execution folder; you will be able to see your delivery, open that delivery from there.

4. Now you can see a button, send proof use that to send a proof, once satisfied approve the content.

1750246_pastedImage_0.png

Regards,

Venu

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now