Dynamic Content in Adobe Campaign: Aggregating Data with JavaScript
Hi everyone,
I'm working on an email campaign where I need to display a list of horses owned by each user along with their info. I have two tables: one with unique horse owners and another with all the horses. My goal is to send a single email to each owner that includes a table listing all their horses and their data.
What would be the best approach to do this in Adobe Campaign?
| Horse Ower | Horse Name | Horse Birthday | Gender | Race |
| test@test.com | vera | 3/5/2002 | Merrie | KWPN |
| test@test.com | Agga | 3/4/2002 | Merrie | IJslander |
| test@test.com | Stor fra Flettuvollum | 12/5/2002 | Merrie | IJslander |
| test@test.com | Droopy | 4/30/2008 | Ruin | Shetland pony |
| test@test.com | Caspar | 8/1/1994 | Ruin | Haflinger |
| test@test.com | Polly | 1/1/1990 | Merrie | Welsh pony |
| test@test.com | Wavottie | 1/1/2004 | Merrie | KWPN |
| test@test.com | Ramona | 1/1/1999 | Merrie | KWPN |
| test@test.com | Daisy | 1/1/2000 | Merrie | Overig |
Thank you