Hybrid Integration 10.1 | Integrating On-Premises Applications | Integration Server Built-In Services | Report 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.

Copyright © 2015- 2017 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.