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!

Push Notification personalization fails when I use target extension (targetData)

Avatar

Level 1

Hi - I'm unable to generate a push notification (iOS) when I use targetData field for the personalization. I see the error message - "Error while compiling script 'content iosMessageContent' line 4: targetData is not defined. SCR-160012 Javascript: error while evaluating script 'content iosMessageContent'". However the targetData field is available in the incoming transition to the push delivery activity. Even in the message window I could access these fields. But if I use any other fields apart from targetData fields (like recipient firstname, lastname etc.) I receive the push notification. Is there any configuration checks need to be done? 

 

Appreciate a help on this. Thanks!

0 Replies