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:
![KristenCo4_1-1725553109853.png KristenCo4_1-1725553109853.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/79772iE5AE2648D287CD76/image-size/medium?v=v2&px=400)
Field:
![KristenCo4_0-1725553053848.png KristenCo4_0-1725553053848.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/79771i4D01914B22D0D57E/image-size/medium?v=v2&px=400)
TargetData reference:
<%= targetData.onboarding/firstname %>,
![KristenCo4_2-1725553232781.png KristenCo4_2-1725553232781.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/79773i83650BBAB0A51671/image-size/medium?v=v2&px=400)
Any help is appreciated! thank you