Hi @PeterE,
It's possible to add a new table for each array of data, but each set should have some new header.
For example, you have a template like this one, with the {{companies.name}} header. In the Json we have several arrays with several companies.name headers. Each of them create a new table.
JSON:
[
{
"name": "David Navarro",
"companies": [
{
"name": "Plumsail",
"projects": [
{
"name": "Plumsail Actions",
"achievement": [
{
"description": "Design the hardware"
},
{
"description": "Design the software"
},
{
"description": "Implement the software"
}
]
},
{
"name": "Plumsail Forms",
"achievement": [
{
"description": "Design everything"
},
{
"description": "Implement everything"
}
]
}
],
"managers": [
{
"name": "Derek clark",
"title": "Head of Development",
"reference": "he likes programming \nand good coffee"
},
{
"name": "Jessica Adams",
"title": "CEO",
"reference": "I don't know this guy"
}
]
},
{
"name": "Contoso",
"projects": [
{
"name": "Who knows what it was",
"achievement": [
{
"description": "R&D"
},
{
"description": "Bureaucracy"
}
]
}
],
"managers": [
{
"name": "Lots of people",
"title": "Managers",
"reference": "I saw this guy once in the cafeteria"
}
]
}
]
},
{
"name": "Martin Harris",
"companies": [
{
"name": "Plumsail",
"projects": [
{
"name": "Plumsail Org Chart",
"achievement": [
{
"description": "Mentor"
},
{
"description": "Teach"
}
]
}
],
"managers": [
{
"name": "Anil Mittal",
"title": "Founder",
"reference": "I like the way he laughs"
}
]
},
{
"name": "Contoso",
"projects": [
{
"name": "Whatever it was",
"achievement": [
{
"description": "R&D"
},
{
"description": "Documentation"
}
]
},
{
"name": "Another old project",
"achievement": [
{
"description": "Research"
},
{
"description": "Development"
}
]
}
],
"managers": [
{
"name": "Brenda Coel",
"title": "Head of Heads",
"reference": "he knows the stuff"
},
{
"name": "Xue Li",
"title": "CEO",
"reference": "Brenda said he knows the stuff"
}
]
}
]
}
]
There is this result:
Please also check the article Loops and nesting.
Give it a try and if the issue persists share with us your template, the result file, and an example of the data you send to the template file. We'll check how to fix the template.
If there are some sensitive data, send a message to support@plumsail.com цith the reuqested files to open a ticket and refer to the community thread.
Best regards,
Petr
Plumsail team