Hello,
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @muralipraveenr1 ,
in case of collection you should access the value using index:
recipient.recipientRegistration[0].createdDate
This will work for you like this in case you have link 1:1.
If you have multiple values for the same recipient you need iteration of index. ([0],[1],[2]...)
In case there is not an record for particular recipient you will get error like "Index out of range" therefore you should have conditional personalization here (if/then).
Regards
Milan
Hi @muralipraveenr1 ,
in case of collection you should access the value using index:
recipient.recipientRegistration[0].createdDate
This will work for you like this in case you have link 1:1.
If you have multiple values for the same recipient you need iteration of index. ([0],[1],[2]...)
In case there is not an record for particular recipient you will get error like "Index out of range" therefore you should have conditional personalization here (if/then).
Regards
Milan
@muralipraveenr1 is correct about using the field as a collection.
An alternative workaround could be to create the link with the custom schema and bring back the collection filed into target data. This could be done by using an enrichment, bringing the collection field and renaming the internal name. Now you have the data in the target filed and use it as targetData.fieldXYZ.
Hope this helps.
Anup
Views
Replies
Total Likes