Hello,
I am facing some difficulties trying to generate a word document displaying contacts information, specifically tables.
I use the following payload and word template:
01_SB_Template.docx (13.0 KB)
{
"Template": "01_SB_Template.docx",
"Data": {
"FirstName": "Adam",
"LastName": "Jensen",
"Contacts": [
{
"Name": "John Doe",
"Email": "johndoe@example.com",
"Phone": "123-456-7890"
},
{
"Name": "Jane Smith",
"Email": "janesmith@example.com",
"Phone": "098-765-4321"
},
{
"Name": "Emily Johnson",
"Email": "emilyjohnson@example.com",
"Phone": "555-555-5555"
}
]
}
}
I managed to generate the word document by calling the flowing endpoint “/words/01_SB_Template.docx/MailMerge”
The simple mergefields are populated poperly but not the table and I’m not sur what is missing:
Generated_Document.docx (10.2 KB)
Some help would be appreciated in this matter.