Integration Server 10.11 | Built-In Services Reference Guide | Report Folder | Summary of Elements in this Folder | pub.report:runFileTemplate
 
pub.report:runFileTemplate
WmPublic. Applies a template file to a document (IData object).
Input Parameters
$template
java.io.File Template file.
$values
Document Document (IData object) to bind against $template.
fileEncoding
String Optional. The encoding of the template file. If fileEncoding is not specified, the default file encoding specified in the watt.server.netEncoding server parameter or the system file encoding will be used. Examples: SJIS, ASCII, ISO8859_1.
Output Parameters
$txt
String Results from applying $template to $values.
Usage Notes
If a template is not available in a templates directory of any of the packages on the server, you can use this service by passing in a File object representing the template.
Integration Server executes any services in the template file using the credentials of the user who invoked the pub.report:runFileTemplate service.