I’m new to appsheet so I apologize if I’m making any mistake on how this forum works.
I’m generating a PDF document through a bot with an HTML template and it’s working perfectly.
Unfortunatly when I use the IF / ENDIF statement (in order to show/hide some pages) I have the following error messages in the monitor log :
Unable to find function ‘IF:’, did you mean ‘IF’? […]
Expression ‘Endif’ is invalid due to: Expression refers to undefined field
It is written like this in my HTML document :
<<If:(COUNT([Related MyTable])>2)>> Page to display <<Endif>>
It seems that it doesn’t recognize the IF: function in the HTML template document.
I use to have a word document template working with this expression so I’m quit sure it is correct.
I’ve been looking a lot through this great forum but didn’t find any answer.
Hope anyone can help me.
Thank you and have a great day.