webMethods and Intelligent Business Operations 10.2 | Integrating Cloud Applications | 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
Integration Server executes any services in the template file using the credentials of the user who invoked the pub.report:runTemplate service.

Copyright © 2015- 2018 | 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.
Innovation Release