Word Templates - Forum - Rollbase - Progress Community

Word Templates

 Forum

Word Templates

This question is not answered

I would like to condition a specific paragraph based on the value held in a rollbase field e.g. new customer field = true or false. Is this possible and how?

Thanks

All Replies
  • Please take a look at our documentation on the templating feature documentation.progress.com/.../index.html

    You can use an EVAL block to execute server-side JavaScript in document template reports.

    Our documentation on this is documentation.progress.com/.../index.html

    Please let us know if this helps.

  • Sorry im not that technical so I cant understand that - what would be the script/eval code for a true or false condition on a boolean variable say "existingcustomer"?

  • You can try something like this.

    #EVAL[

    if('{!fieldintegartionname#value}'==true)

    {

    //TODO

    }

    ]

    Regards,

    Shiva