Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Integration Server Built-In Services | Report Folder | Summary of Elements in this Folder | pub.report:runTemplateOnPipe
 
pub.report:runTemplateOnPipe
WmPublic. Applies a template in a file to the pipeline.
Input Parameters
$template
String Name of template file (for example, mytemp.html ormytemp.xml).
$package
String Name of the package in which the template resides (for example, Default).
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 the template file to the pipeline.
Usage Notes
The pub.report:runTemplateOnPipe service uses template files that reside in the pub and templates directories of the package. The service locates the output template by its file name and the name of the package in which it resides. For example, to apply a template that resides in IntegrationServer_directory\packages\Default\templates\mytemp.xml, invoke the service with the following values.
$template: mytemp.xml
$package: Default
Integration Server executes any services in the template file using the credentials of the user who invoked the pub.report:runTemplateOnPipe service.