How do I access targetData in delivery template of continuous delivery?

jrstheandonly

14-02-2017

I am using Continuous Delivery and trying to access targetData which I have queried in previous activity. However, targetData is not access in delivery template of continuous delivery.

How do I access targetData in delivery template of continuous delivery?

If I use below script in my delivery template, the output is a in below screenshot.

Script:

<%= typeof(targetData) !== 'undefined' ? targetData.productName : "targetData is not defined" %>

<%= typeof(targetData) %>

Output:

1129539_pastedImage_7.png

Thanks,

Rajasekar J

Accepted Solutions (0)

Answers (2)

Answers (2)

Vapsy

Employee

20-02-2017

Hi jrstheandonly ,

I've created a similar setup on my machine and it has worked properly.

I'm able to generate the targetData values inside delivery.

Did you try sending out the email or were you trying to perform preview?

Please provide complete Steps to Reproduce and maybe we can identify the root cause.

Regards,

Vipul