Cloud Application Integration (On-Premises) : Integration Server Built-In Services : Report Folder : pub.report:runTemplate
pub.report:runTemplate
WmPublic. Applies a template in a file to a specified document (IData object).
Input Parameters
$template
String Name of the template file (for example, mytemp.html or mytemp.xml).
$package
String Name of the package where the template resides (for example, Default).
$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 Result from applying the template to $values.
Usage Notes
The service locates the output template by its file name and the name of the package in which it resides. 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
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback