Hi,
I want to set new template in rml according to the condition. I tried the below code but not succeeded yet.
Code:
<docAssign var='n' expr='5'/>
<docIf cond='n>5'>
<setNextTemplate name="sec"/>
<includePdfPages filename="Sales Order.pdf" />
<nextFrame/>
<docElse/>
<para style="terp_default_8"> </para>
</docIf>
Please help me to set the template.
Thank you.