@jan_blaha I've tried to replicate a simple overview of the problem , hope that helps .
First I've created a word with the following code.
{firstname}
{#value}
I should not come since by default value is false
{/value}
{^value}
I should come when I view in the JSReport sever / when the test word is downloaded from API
{/value}
and in the server with the data
values linked.
{
"firstname":"Pradeep A",
"value":false
}
this will show like this .
When in the HTML page with the following code
function mysubmission() {
jsreport.serverUrl = 'http://localhost:5488';
var request = {
template: {
shortid: "HkgSfSTjnN"
},
data: {"firstname":"Pradeep A","value":false}
};
jsreport.render(request);
};
When the word is downloaded it will show like this.
Suggest me if i'm doing any mistake.