Using templates > Using SOM expression to load template

Using SOM expression to load template
Using the SOM expression
The SOM expression is useful when the path to a template is accessible from the data DOM and when you need a different template for every record in a batch job.
The SOM expression can be evaluated once for each record or once for each page processed. This means that different templates can be used for each processed record or page.
File paths and URIs are supported in the same way as for StreamServe variable, see Using StreamServe variable to load template.
Example 4
The template path is located in an element in the input file.
A SOM Expression pointing to the element is used for template selection in the Process.
 
To load a template during runtime using a SOM expression
1
In the Process Tool, select File > Open/Select Template. The Select Template dialog box opens.
2
Select SOM expression and enter the SOM expression in the data DOM pointing to a template.
3
If connecting to a Document Services Repository, enter the Runtime repository connection details.
4
If using HTTP URI, and simple HTTP authentication, select Use Simple HTTP Authentication and enter the logon credentials.
5
Click OK. The starting window for the Process tool opens.
OpenText StreamServe 5.6 Updated: 2013-03-01