Templatize operation

Parses and renders Velocity email template to an email that is sent to review participants.

For information about the General and Route Evaluation property groups, see Common operation properties .

Input properties

Properties to parse a Velocity email template.

Config Parameters

A map of string values that specifies the configuration parameters to use to parse a Velocity email template. The map value contains the template location depending on the Repository Type property value. The two required keys for the map are as follows:
  • templateLocation: Specifies the location of the template in the repository. For example, for LiveCycle Content Services 9, the value is /Applications/ReviewCommentingAndApproval/1.0/resources/templates/email/notification .

  • templateName: Specifies the name of the template. For examle, ReviewStart.html.

You cannot use a literal value.

Data Values

A map of string values that specifies email templates to parse. The map contains the value of variables used in the template, which are prefixed with a dollar sign ( $ ). For example, if the template contain a variable $reviewer_name , the data value for the map contains the reviewer_name key.

You cannot use a literal value.

Encoding

A string value that specifies the encoding to apply to the rendered email. You can use value such as UTF-8 , ISO-8859-1 . The default is UTF-8 .

If you provide a literal value, type the value of the encoding you want to use. See the the list of available encoding values at http://download.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html .

Repository Type

A string value that specifies the type of templates repository. You can specify a value of repository or lccs . repository indicates to use the LiveCycle design repository and lccs indicates to use LiveCycle Content Services 9.5.

If you provide a literal value, use repository (LiveCycle Repository), lccs (LiveCycle Content Services 9), or url (HTTP URL). If you specify url , the URL should be a non-secure, publicly accessible URL.

Output properties

Property for specifying the result of the operation.

Final Document

A document value that represents the email that is sent to users. The email is encoded in the format specified in the Encoding property.

Exceptions

This operation can throw a com.adobe.livecycle.rca.common.exception.RCAException exception.

// Ethnio survey code removed