Use cases
Creation of an OpenOffice template (collection) for an OTP card letter
The template store administrator creates an OpenOffice writer document with the following properties:
- Document has extension .odt
- Document may contain formatted text and pictures.
- Document has zero or more allowed placeholders (see Placeholders).
- To insert a placeholder in OpenOffice 3.2.0, do the following: Insert -> Fields -> Other -> Functions -> (Type: Placeholder, Format: Text) -> give a placeholder name from the list above. You can leave the reference box empty.
- Document may have two freely formatted tables.
- Document is written in one of the four supported languages (English, German, Italian or French).
The template store administrator opens the view Template Manager (see the chapter: Template manager).
The template store administrator creates a new collection. (see the chapter: Adding a new collection).
The template store administrator creates a new template (see the chapter: Creating a new template). He specifies the following input fields:
- The template collection the new template belongs to (he created this collection previously, in step 3).
- The document type ("oo" for OpenOffice).
- The communication event type ("OTP initial").
The template store administrator adds the first template text to the newly created template. It first selects the language which corresponds to the language of the OpenOffice Document and then selects the document's file from the file system. After uploading the file, the template store administrator selects the placeholders from the list that should be mandatory. (If a mandatory placeholder cannot be resolved, the whole printing process will be cancelled. On the other hand, an optional placeholder can be left empty.
Creating and printing an OTP card for a user
- User administrator opens a user for editing.
- User administrator clicks on "New" button under the credential list.
- User administrator selects type as "OTP Card" and saves the credential.
- User administrator clicks on "Output".
- User administrator selects "Print" as output type and "Initial" as letter type, clicks "OK" and picks up the printout.
Using a non-default e-mail template for password generation
- If there is no e-mail template for password initializations yet, create one with precedence 0 (see the chapter: Creating a new template). This template will be the default template.
- Create a second e-mail template for password initialization within the same template collection with precedence 2.
- Set the parameter "templatePrecedence" to 2 in the password policy.
- Open a user who does not have a password credential.
- Create a password credential for the user. The e-mail template with precedence 2 will be used during the communication with the user instead of the default template.