Can we hide a table along with its header dynamically in a word document if no rows are available for that table??
Discussion posts and replies are publicly visible
You can use an "if..else" statement to hide or show your table based on an attribute. The structure of the "if..else" statement should be like this:
[#if doc.d.showTable=='true'] show the table [#else] hide the table [/#if].
Hi Dimitris Soulovaris snehalm0001 ,
I have the same requirement and tried to use the If condition in my word document template but the ADT smart service is not compiling the IF condition instead it is just printing the value in the document.
I referred to the syntax from the Freemaker website https://freemarker.apache.org/docs/ref_directive_if.html