The Document Templates feature allows you to create professional document templates with dynamic content that pulls data from your Fentu FSM system. Using mail merge functionality, you can design templates for invoices, work order reports, service contracts, quotations, and any other documents your business needs.
Document Templates use mail merge technology - insert placeholder fields that automatically populate with real data when you generate documents, ensuring consistent, professional output every time.
When you click the Edit button (blue pencil icon) from the list or create a new template, you enter the comprehensive template editor with four main areas:
The left panel organizes all available merge fields into three tabs, making it easy to find and insert the data you need:Three Main Tabs:
Module Fields Tab - Fields from your selected Object Module and other available modules
System Fields Tab - Dynamic system-generated fields like dates and current user information
Related Fields Tab - Fields from modules related to your Object Module
Module Fields Tab Components:
Component
Function
Module Dropdown
Select which module’s fields to browse (defaults to Object Module)
Sample Data Section
Choose a sample record from your data to test merge field output
Fields Label
Header indicating the field list section
Field Search Box
Filter/search fields by name or label to quickly find specific fields
Clear Button (×)
Clears the search filter to show all fields again
Field List
Scrollable list of all available fields for the selected module
Field Buttons
Click any field to insert its placeholder at the cursor position in the editor
Use the Sample Data lookup to select a real record from your system. When you click “Download Sample Document”, the template will be populated with this record’s actual data, allowing you to test how merge fields render.
System Fields Tab Sections:The System Fields tab groups related fields into sections:
Section
Fields Available
Date & Time
Current Date, Current Time, Current Date & Time, Current Year
Current User
User Full Name, User Email, User Phone, User Job Title, User Department, User ID
Each field button displays:
Label - Descriptive name (e.g., “Current Date”)
Placeholder - Actual merge code (e.g., <!current_date>)
Related Fields Tab Components:
Component
Function
Related Lists Dropdown
Select which related module to pull fields from
Insert Relation Table Marker
Creates a table placeholder that repeats for each related record
Fields Label
Header for the related field list
Field Search Box
Filter related fields by name or label
Clear Button (×)
Clears the related field search filter
Field List
Scrollable list of all fields from the selected related module
Related fields use a different placeholder format: <!RelationName.field_name> to distinguish them from main module fields.
The right-side vertical toolbar provides quick access to common text formatting options:Font Formatting:
Tool
Function
Font Family Dropdown
Select typeface (Arial, Times New Roman, etc.)
Font Size Dropdown
Set text size (8pt, 10pt, 12pt, 14pt, etc.)
Style Buttons:
Button
Function
B (Bold)
Make text bold
I (Italic)
Make text italic
U (Underline)
Underline text
Strikethrough
Add strikethrough effect
Superscript (x²)
Raise text above baseline
Subscript (x₂)
Lower text below baseline
Color Controls:
Tool
Function
Text Color
Change font color (color picker)
Highlight Color
Add background highlight to text
Paragraph Alignment:
Button
Function
Align Left
Left-align paragraph
Center
Center-align paragraph
Align Right
Right-align paragraph
Justify
Justify paragraph (align both left and right edges)
Indentation and Lists:
Tool
Function
Decrease Indent
Move paragraph left
Increase Indent
Move paragraph right
Bullets
Create bulleted list
Numbering
Create numbered list
The right-side formatting toolbar provides one-click access to the most commonly used formatting options, while the top toolbar offers advanced document structure tools.
Choose a sample work order, customer, or record from your system
2
Click Download Sample Document
Button becomes enabled once a sample record is selected
3
Review PDF
Opens a PDF with your template populated with actual data from the sample record
4
Check Merge Fields
Verify all placeholders replaced correctly with real information
5
Revise if Needed
Return to editor to adjust layout, add missing fields, or fix formatting
Always generate a sample document before saving your template. This catches formatting issues, missing fields, and layout problems before you use the template in production.
Use clear headings, sections, and white space. Documents should be easy to scan and understand at a glance.
Test with Multiple Records
Generate samples using different work orders, customers, etc. to ensure your template handles various data scenarios (long text, missing fields, etc.).
Include Company Branding
Add your logo, company colors, and branded header/footer to every template for professional, consistent output.
Use Tables for Structured Data
When displaying multiple items (parts, tasks, hours), use tables instead of paragraphs for better readability.
Add System Fields for Tracking
Include generation date, user who created the document, and timestamps for audit trails and record-keeping.
Name Templates Descriptively
Use clear, specific names so other users can find the right template quickly: “Monthly Maintenance Invoice” not “Template 3”.
Version Your Templates
Include version numbers or dates in template names if you update them frequently: “Service Contract v2.1”.
Consider Mobile Viewing
Many users will view PDFs on phones or tablets. Use readable fonts (12pt+) and avoid tiny tables or dense text.
Can I use the same template for different modules?
No, each template is tied to a specific Object Module selected at creation. If you need similar templates for Work Orders and Service Contracts, you must create separate templates for each.
What happens if a merge field is empty?
If a work order doesn’t have data for a field (e.g., no description), the placeholder will be replaced with blank space. Design your template to handle optional fields gracefully.
Can I include images dynamically from records?
Currently, images must be static (added during template design). Dynamic images from work orders or assets are not supported. You can add placeholders for users to manually insert images after generation.
How do I edit an existing template?
Navigate to the Document Templates list, find your template, and click “Edit”. Your template loads in the editor where you can make changes and save.
Can multiple users use the same template?
Yes! Once saved, templates are available to all users with appropriate permissions. This ensures consistent document formatting across your organization.
What format are generated documents?
Documents are generated as PDFs, which ensures consistent formatting and prevents editing after generation. PDFs can be emailed, printed, or stored in records.
Can I include conditional content?
Advanced conditional logic (e.g., “if priority is high, show this text”) is not currently supported. All merge fields are included in every generated document.
How do I delete a template?
From the Document Templates list view, select the template and use the delete option. Be cautious - deleted templates cannot be recovered.