What are you generating?
By Tim Dexter on Sep 24, 2009
Ever thought, it would be cool to know what your RTF template was going to generate, in terms of output e.g. HTML, PDF, Excel, etc
With the standalone release you can, both the output format and the template being used are available. Both parameters are available
_xt - template name (not the file name)
_xf - output format
they just need to be declared in your RTF template:
You can then reference the values just like any other parameter in a template.
the format parameter will generate 'html', 'pdf','excel','rtf' ie all lower case.
If you have some specific layout that only needs to be shown if a specific output is generated you can combine the parameter with an if statement:
Short and sweet!