We are currently in the process of moving our emails over to Courier. We’ve done our ‘simple’ emails now and are moving onto some slightly more complicated ones that require quite a bit of formatting.
We have a json structure that looks like this:
{
“siteCode”: “20167714”,
“inspectionNo”: “4421133”,
“visitDate”: “08 September 2022”,
“consultant”: “A Consultant”,
“accompaniedBy”: “A Second Consultant”,
“inspectionScore”: “86.04”,
“actionPlanDetails”: [
{
“actionDeadLine” : “Immediate”,
“actionPlan”: [
{
“question”: “this is the question”,
“response”: “this is the response”,
“comment”: “this is the comment”
},
{
“question”: “this is the question”,
“response”: “this is the response”,
“comment”: “this is the comment”
}
]
},
{
“actionDeadLine” : “1 month”,
“actionPlan”: [
{
“question”: “this is the question”,
“response”: “this is the response”,
“comment”: “this is the comment”
},
{
“question”: “this is the question”,
“response”: “this is the response”,
“comment”: “this is the comment”
}
]
}
]
}
In our current email solution (c# MVC ) we present the action plan details in a table format with the actionDeadline as the header and then action plan in a table format with the keys as table column headers as below:
Is it possible to replicate this or similar in Courier? The list component doesn’t seem to have alot of options with it.