Great that makes sense. Thanks.
Posts made by timgilmore
-
JSReport Online Limits
Hello,
I have a use case to generate 6000 100-page PDFs (or 1200 500-page PDFs) from a template and dynamic data. I don't fully understand the pricing for JSReport Online which has 300k monthly credits as the GOLD subscription. (I assume this is the level we'd need for this type of request). The information under the subscriptions state "we won't interrupt the service when you reach the credit limits. Instead, you get a notification and another 50% credits which you can use to upgrade your subscription or optimize the traffic". Is this also true for the Gold tier? Once we reach the 300k monthly report credits, will the service continue to work, but we will be charged more?
Thank you
-
RE: Dynamic JSRender Condition from JSON
Thank you!
We'd like to use handlebars instead, but is it possible to do the same thing with handlebars? -
Dynamic JSRender Condition from JSON
Is it possible to include a jsrender condition in the JSON object which will then be evaluated at render time?
e.g. if I have this JSON object, with a dynamic condition, I want it to be evaluated in the "if" below to show or hide html depending on if it evaluates to true or false.
{
"age": 13,
"condition": "age > 18"
}
<div>
{{if condition}}
This text shows if age > 18
{{/if}}
</div>
In the above, this would obviously always evaluate as "truthy" because it is not evaluating the condition itself. Is it possible to interpret this as an expression to be evaluated by jsrender?