Can i use If/Else in template ?
-
I want to use if else condition in my template on data received from api.
Please suggest a way to do this.
-
hi! the way to do the if/else of the template depends on the template engine that your report uses, for example, if it is handlebars you can do it like this. I suggest always looking at the specific template engine docs to know how to define something in the template