The RunTemplates Command
The «RunTemplates» command enables the template author to specify that more than one template should be run.
The four templates Letter.xdtpx, Contract.xdtpx, DebitOrder.xdtpx and FileCover.xdtpx will be run, one after the other. The user will be presented with an interview for each template being run, but each interview will be pre-populated with data captured for the previous interview.
The RunTemplates command should be the only text in a template, because everything else on the template is ignored.