Search This Blog

Monday, 11 February 2013

Custom variables in RTF template in XML


Custom variables in RTF template


Custom variables in RTF template is nothing but declaring a variable in one group and using that variable in another group which is shown below.Our RTF looks

XML output for above RTF is

Here we are going to declare one custom variable in parent group by taking one form filed which is shown below



Now add one more column to the RTF for displaying running totals as shown below.
Place the cursor in Inv_Amt column Right click to create one more column.
Click ok.
Do the same step to create one more cell .
Give the name of the column and take one form field which is shown below
Click ok.
Now our RTF looks

Now we have to publish the report

Click on Template Builder => Preview => HTML/PDF/Excel/RTF (any format).
We can get below output


No comments:

Post a Comment