Demo
Now
Request a Demo
Request a call
Chat with specialist

Letter Generation (LTR)

Back to App Libraries

Product Summary

AppBase Objects Prefix

AppBase Objects Component Prefix: LTR

In order to separate AppBase objects between various components we prefix them with component prefix. 

 

Component Features

Letter Generation Component provides following features: 

Features

Letter Generation component provides following features: 

  • ability to maintain (add/view/modify/delete) letter templates collection in runtime (changes to the collection is applied instantly without need of deployment)
  • ability to maintain (add/view/modify/delete) template bookmark collection in runtime
  • template validation for missing bookmarks
  • ability to debug/test MS Word templates
  • dialog box to generate MS Word templates
  • dialog box to generate Email template
  • rules to generate any of the supported templates

  • Screenshots
  • AppBase Features

Screenshots

mplace_product_table_sliser
mplace_product_table_sliser
mplace_product_table_sliser

AppBase Features

Letter Generation component provides following features: 
  • ability to maintain (add/view/modify/delete) letter templates collection in runtime (changes to the collection is applied instantly without need of deployment)
  • ability to maintain (add/view/modify/delete) template bookmark collection in runtime
  • template validation for missing bookmarks
  • ability to debug/test MS Word templates
  • dialog box to generate MS Word templates
  • dialog box to generate Email template
  • rules to generate any of the supported templates

How to use Letter Generation Component features

With Letter Generation component you can upload a template, configure it, and then use a placeholders to populate fields in the template with specific content from your application. For example, you might use a New Customer Welcome Letter template to pull information from the BOM to create a PDF containing each customer’s information. The resulting letter you could send by email to recepients.

Letter Generation component presents abilities for creating/generating/sending letter templates (MS Word, EmailHtml, EmailPlainText, LetterHead, XSLT). For this purpose component provide abilities for working with Letter Templates and sending letter to recepients by email.

Often letter templates may contain data from db, for getting this data you should you use Placeholders in a document. Placeholders in a Letter Template indicates where there should be dynamic text, for e.g. such as First Name/Last Name of the intended recipient.

Below are examples of Letter template documents with placeholders (in MS Word): CONTACT_NAME, EMPLOYER_ATTENTION, EXMPLOYER_FAX.

or in Letter template with type EmailPlainText: TEST

Email Templates are HTML templates that can be sent from your Solution. Email templates are designed to contain placeholders which then can be replaced at run time with data extracted from a Solution.

For mapping dynamic text to Placeholders in Letter Template component uses  Bookmarks. It's an object where you could write some text, or query for getting data from your solution's tables, which should be inserted into template.

Example below show bookmarks with type Text and Function.For ex. placeholder @SYSTEM_DATE@ in runtime will be executed query from Value and mapped to the placeholder text in template.

For generating HTML text from XML and XSLT, based on defined parameters, Letter Generation component provide ability to work with XSLT template. Return text of HTML.


Letter Template component provide pocibility to test templates with parameters. For example use different types of bookmark in one template:

Select type from Variant or/and input other needed parameters

 

Result document.

Back to App Libraries