Hide-block-if-empty Not Working

Hi,

The hide-block-if-empty for table cells is not working correctly. It works if there is no data but when the data is present, it shows the data along with JSON RAW DATA. This functionality was working fine until 10 days or so but suddenly started failing. I also used your sample template and added contacts.address and contacts.phoneNumber data to the json file but still no luck. Demos for DOCX templates — Plumsail Documents 1.0 documentation

Thanks,

SK

test.pdf (116.5 KB) conditionally-hide-blocks-template.docx (16.1 KB)
Sample JSON:
{
"companyName": "Plumsail",
"site": "http://plumsail.com",
"contacts": [
{
"address": "1 Carlson",
"phoneNumber": "999-999-9999"
}
],
"employees": [
{
"name": "Derek Clark",
"hireDate": "2012-04-21",
"department": "marketing"
},
{
"name": "Jessica Adams",
"hireDate": "2012-04-21",
"department": "sales"
},
{
"name": "Anil Mittal",
"hireDate": "2016-04-11",
"department": "development"
}
],
"employees2": [
{
"name": "Derek Clark",
"hireDate": "2012-04-21",
"department": "marketing"
},
{
"name": "Jessica Adams",
"hireDate": "2012-04-21T",
"department": "sales"
},
{
"name": "Anil Mittal",
"hireDate": "2016-04-11",
"department": "development"
}
]
}

Hello @skanade,

We replied in the support ticket SP20374

Best regards,
Petr
Plumsail team