- Declare and load the template
- Set up subject, body, and attachments in the selected language
- Bring in data values
- Run it through the parser
Load template
To get started, you need to know the ID of the template to use. The available templates and their ID are specific to your tenant. Here’s how to see what’s available and find the ID:- Sign in to SuperOffice Service.
- Click Knowledge Base in the main menu and select Reply templates.
- Select a template to view more info.
- While viewing the template you wish to use, get the ID from the URL. For example,
ReplyTemplate&id=2.
Bool load(Integer id)
Retrieves the reply template with the given ID and loads it into the object.getName() method simply returns the name of the loaded template.