Overview
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.When to Use Document Templates
Use Document Templates to create:- Work order completion reports for customers
- Invoice and quotation templates
- Service contract documents
- Technician assignment sheets
- Customer service summaries
- Equipment maintenance reports
- Parts inventory reports
- Custom branded documents with company information
Document Templates Views
The Document Templates feature has three distinct views:1. List View - Template Management

2. View Mode - Template Details

- Template name and configuration
- Object module
- Document preview
- Template structure and merge fields
3. Edit Mode - Template Editor

- Template Header (Top) - Template name, module selection, and action buttons
- Field Insert Panel (Left) - Browse and insert merge fields from three organized tabs
- Document Editor (Center) - Full-featured Syncfusion word processor
- Editor Toolbar (Top of Editor) - Advanced formatting and document tools
Navigating Between Views
Access List View
View a Template
Edit a Template
Return to List
Edit Mode - Interface Details
The template editor provides a professional document design experience with multiple panels working together:Top Bar - Template Configuration
Left Panel - “Select Field to Insert”
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
- Label - Descriptive name (e.g., “Current Date”)
- Placeholder - Actual merge code (e.g.,
<!current_date>)
<!RelationName.field_name> to distinguish them from main module fields.Center - Document Editor (Syncfusion DocumentEditor)
The center area is a professional-grade word processor powered by Syncfusion’s DocumentEditor component: Editor Features:- Full Page View - See exactly how your document will look when generated
- WYSIWYG Editing - What You See Is What You Get - design with confidence
- Merge Field Insertion - Click fields in the left panel to insert placeholders at cursor position
- Rich Text Editing - Type regular text, format content, and arrange layout
- Page Indicator - Shows current page and total page count at bottom of editor
- Real-time Preview - See merge field placeholders as they’ll appear in the template
- Module fields:
<!field_name> - System fields:
<!current_date>,<!current_user.name> - Related fields:
<!RelationName.field_name> - Related tables:
<table!RelationName,1>
Top Toolbar - Document Tools
The toolbar above the editor provides advanced document creation features: File Operations:Right Panel - Text Formatting Toolbar
The right-side vertical toolbar provides quick access to common text formatting options: Font Formatting:Creating a New Template
Navigate to Document Templates
Enter Template Name
Select Object Module
Design Your Document
Insert Merge Fields
Save Template
Template Header
Template Name
Give your template a clear, descriptive name:Object Module
The Object Module determines which type of data the template uses:Action Buttons
Field Insert Panel
The left panel lets you insert dynamic merge fields into your template:Module Fields Tab
Insert fields from the selected Object Module:Select Module Fields Tab
Choose Module (Optional)
Search for Field
Click Field to Insert
- Work Order ID
- Customer Name
- Address
- Planned Date
- Status
- Type
- Description
- Priority
- Assigned Technician
<<field_name>>. When you generate a document, these are replaced with actual data.System Fields Tab
Insert system-generated information that’s always available:Date & Time Fields
Current User Fields
Related Fields Tab
Insert fields from related modules (e.g., Customer data when creating a Work Order template):Select Related Fields Tab
Choose Related Module
Browse Fields
Insert Field
Document Editor
The center area is a full-featured word processor:Text Formatting
Advanced Features
Tables
Tables
- Parts used in a repair
- Labor hours breakdown
- Service checklist items
- Pricing tables
Images
Images
- Add logo in header for branding
- Include equipment photos in service reports
- Insert signature blocks for approvals
Styles and Formatting
Styles and Formatting
- Consistent look and feel
- Easy bulk formatting changes
- Professional appearance
Inserting Merge Fields in Editor
- Position Cursor - Click where you want the field
- Select Field - Click a field in the Field Insert Panel
- Field Appears - Placeholder inserts at cursor (e.g.,
<<customer>>) - Format As Needed - Apply bold, color, alignment to the placeholder
- Continue Designing - Add more text and fields
Sample Document Generation
Test your template with real data before deploying:How to Generate a Sample
Select Sample Record
Click Download Sample Document
Review PDF
Check Merge Fields
Revise if Needed
What to Check in Sample Documents
Field Replacement
<<field>> visible)Formatting
Layout
Page Breaks
Example Templates
Work Order Completion Report
Service Invoice Template
Equipment Maintenance Report
Tips and Best Practices
Design for Clarity
Design for Clarity
Test with Multiple Records
Test with Multiple Records
Include Company Branding
Include Company Branding
Use Tables for Structured Data
Use Tables for Structured Data
Add System Fields for Tracking
Add System Fields for Tracking
Name Templates Descriptively
Name Templates Descriptively
Version Your Templates
Version Your Templates
Consider Mobile Viewing
Consider Mobile Viewing
Common Questions
Can I use the same template for different modules?
Can I use the same template for different modules?
What happens if a merge field is empty?
What happens if a merge field is empty?
Can I include images dynamically from records?
Can I include images dynamically from records?
How do I edit an existing template?
How do I edit an existing template?
Can multiple users use the same template?
Can multiple users use the same template?
What format are generated documents?
What format are generated documents?
Can I include conditional content?
Can I include conditional content?
How do I delete a template?
How do I delete a template?
