TargetData not defined - value coming from an enrichment | Community
Skip to main content
Level 2
September 5, 2024
Solved

TargetData not defined - value coming from an enrichment

  • September 5, 2024
  • 1 reply
  • 613 views

Hello,

I am creating an enrichment to pull in first name from a separate table that will be used in an email.  The field is defined below in Adobe, but when I code the targetData to reference that field, I am getting the error the targetData is not defined.  The way the enrichment is set up it looks like its not actually part of the target data but is a subset of it.  I am wondering if the "/" is causing the issue.

 

Enrichment:

 

 

 

Field:

 

TargetData reference: 

<%= targetData.onboarding/firstname %>,

 

Any help is appreciated! thank you

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ParthaSarathy

Hi @kristenco4 ,

Use the below script,

<%= targetData.onboarding.firstname %>

1 reply

ParthaSarathy
Community Advisor
ParthaSarathyCommunity AdvisorAccepted solution
Community Advisor
September 5, 2024

Hi @kristenco4 ,

Use the below script,

<%= targetData.onboarding.firstname %>
~  ParthaSarathy S~  Click here to join ADOBE CAMPAIGN USER GROUP for Quarterly In-person | Hybrid | Virtual Meetups