Word Templates

Posted by ionacaerex on 23-Jan-2017 12:51

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

Posted by Manooj Murali on 23-Jan-2017 21:26

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.

Posted by ionacaerex on 28-Jan-2017 05:57

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"?

Posted by Shiva Duriseati on 30-Jan-2017 01:51

You can try something like this.

#EVAL[

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

{

//TODO

}

]

Regards,

Shiva

This thread is closed