Personalized Content Editor Guide
The Personalized Content-based editor is available whenever you edit FORNAV email or text templates. It delivers a familiar, rich-text experience with a few custom actions that connect directly to Business Central data. This guide explains how to work with the standard toolbar and highlights the bespoke hyperlink and image plugins that ship with the FORNAV control add-in.
1. Editor basics
- Launch: When the add-in loads, it injects subject and body editors (for email templates) or a single body editor (for text templates) in the browser.
- Autosave: Content autosaves every second.
- Merge tokens: Typing the configured trigger character “{” or “[” opens the merge-field picker. Selected tokens render as non-editable texts, so they stay intact during formatting.
- Language & captions: Caption text and placeholder hints respect the language and label payload passed via the control add-in.
2. Custom hyperlinks
2.1 Insert a new link
To insert a new link:
- Place the caret where you want the link to appear and (optionally) highlight text to reuse as the link caption.
- In the More Rich group, select Insert Link.
- In the Edit Link popup, specify the following fields:
– Link – type a URL or insert a merge value via the merge text picker. When a merge value is chosen, the field becomes read-only until you clear it.
– Link text – enter display text. The default is either the highlighted text or the link value. Merge text works here as well, if you want dynamic captions.
– Open link in new window – select the checkbox to set data-open-new=”true” so the control add-in opens the link in a new window during rendering. - Click the insert link button to insert a non-editable text that stores both the display text and metadata (field numbers, related table, link target).

2.2 Edit or clear a link
To edit or clear a link:
- In the editor, click the existing link that you want to edit. The Edit Link popup opens with current values pre-filled.
- Update the fields, toggle the Open link in new window checkbox, or click the clear buttons to remove the merge bindings.
- To save your changes, click the insert link button. Alternatively, to cancel your changes, click Close.
2.3 Tips
- The value picker honors both value and caption triggers, letting you pair dynamic URLs with friendly labels.
- A merge-driven link remains non-editable inline; you can use the popup for any adjustments.
3. Custom image plugin
3.1 Insert a merge image
To insert a merge image:
- Position the caret and select Insert Image from Dataset.
- In the popup, select an Image from the dropdown list. The list is populated by media fields that are available in your connected dataset.
- Specify these optional fields, as required:
– Alt text – defaults to the selected field caption when empty. You can provide custom text for accessibility.
– Image link – specify a URL or insert a merge value via merge text. Clear the field to remove links.
– Open link in new window – select to enable data-open-new=”true” for linked images. - Click Insert Image from Dataset to drop an image element. The editor renders a placeholder thumbnail while preserving the dataset source, field metadata, optional link bindings, and alt text for runtime substitution.

3.2. Edit an existing merge image
To edit an existing merge image:
- Click the image placeholder. The popup opens with all the image editing tools, like size and position. Click Replace to open the merge image editing menu with the current selection, alt text, and link bindings loaded.
- Update the image field selection, alt text, or link settings. To apply your changes, click Insert Image.
3.3. Hover tooltips and validation
- Hovering your mouse over a merge image shows a tooltip with the underlying dataset source, so you can confirm the binding.
- The popup prevents insertion when no field is selected, ensuring runtime merging always resolves to a valid source.
4. Repeater tables
A repeater table prints one row per record from a related table — for example, listing an order’s lines inside the email body — without writing any code. Fornav duplicates the table’s body row once per matching record; the header and footer rows stay static, so the footer is the natural place for a grand total.
4.1 Set up the related table
Repeater tables read from a related table configured on the template header, not from the editor itself.
To set up a related table:
- On the Text or Email Template page, click Related Tables and add a row for the table you want to repeat — for example, Sales Line.
- Set the Record Type field to Multiple. This is what makes a related table eligible for a repeater and for grand-total sums; a related table with the default record type Single only supports ordinary single-record merge fields.
- Set the Link Reference field and use the Table Relation editor to link and filter the related table against the base record — for example, matching Document Type and Document No. to the base document.
4.2 Insert a repeater table
To insert a repeater table:
- Position the cursor in the template body and, in the More Rich group, click Insert Repeater Table.
- Select the related table from the Related table dropdown. Only tables with the Record Type field set to Multiple are listed.
- Click Insert. Fornav inserts a skeleton table with a header row, one body row, and a footer row.
- Fill the header row with captions (type [ to search) and the body row with values (type { to search). The body row is the one that repeats.
4.3 Edit an existing repeater table
To edit a repeater table:
- Click the table’s frame (not inside a cell) to reopen the Insert Repeater Table popup, pre-selected with its current related table, and change the binding.
- Alternatively, you can use Table Attributes on the table’s floating toolbar to edit the related-table binding directly — this generic popup exposes every attribute on the selected table.
4.4 Add a grand total
Because the header and footer rows stay static, the footer is the natural place for a grand total.
To add a grand total:
- Type # inside the footer row (or use the merge-field picker) to insert a field-sum tag for any numeric field on a Multiple-type related table, for example, {Line.fieldsum.Line Amount}.
A field-sum tag always totals every matching row, regardless of where it is placed in the document, so put it in the footer row so it renders once, under the repeated lines.
Key feature: Repeater tables nest
An Item repeater can sit inside a Line repeater’s body row, and it resolves correctly with no special syntax beyond nesting one repeater table inside another’s body row.
Note
A related table with no matching records renders the repeater with zero rows — this is expected and not an error. If a repeater’s related table is missing, or doesn’t have the Record Type field set to Multiple, running Check Health on the template flags it.
5. Custom barcode plugin
The barcode plugin inserts a barcode or 2D code that renders for real when the template is merged, either as a fixed value or bound to a field from your dataset.
5.1 Insert a barcode
To insert a barcode:
- In the More Rich group, click Insert Barcode.
- Select a Barcode Type from the dropdown menu. They are grouped into 1D symbologies (Code 128, Code 39, EAN, UPC, and others) and 2D symbologies (QR Code, Data Matrix, PDF417, Aztec, and others).
- To set the value:
- Type a fixed value directly.
- Alternatively, type { in the value box and pick a field from the picker to bind the barcode to live data, such as an item number or document number. Use the clear button next to the value box to remove the binding and switch back to a fixed value.
- Adjust Appearance & Layout — size, colors, fonts, borders, rotation, and so on — and any options specific to the barcode type you chose.
- To insert the barcode, click Save.
5.2 Edit an existing barcode
To edit a barcode:
- Click an inserted barcode to open its floating toolbar,
- Click Edit Barcode to reopen the same popup pre-filled with its current settings.
Key feature:
The editor always shows a generic placeholder graphic in place of a barcode, never a real rendering. This is expected — the actual barcode image is generated only when the document is merged and produced (previewed, printed, or sent).
6. Working with merge text inside popups
- Both the Image and the Hyperlink popups have enabled merge text. When a merge field is chosen, the control stores field numbers and related-table metadata alongside the visible value.
- To revert to manual entry, use the small clear buttons. This removes stored metadata so the link or image behaves like a static value.

7. Troubleshooting
- Popup does not appear: Ensure the editor focus is active. If the toolbar is minimized, click inside the editor before triggering insert link or image.
- Merge fields missing in dropdown: Media fields and merge text suggestions come from the Business Central dataset. Confirm the template exposes the required related tables.
- Link/image not editable inline: This is by design. Use the popup by clicking the element or the toolbar button.
- Repeater table shows no rows: Confirm the related table’s Table Relation actually matches records for the current document, and click Check Health to see if a missing or misconfigured related table is flagged.
- Barcode shows “Barcode error: …” in the output: The barcode has no value (nothing typed or bound), the barcode service is unreachable, or the type/options are unsupported. Check that the bound field has data and the Barcode Type/options are valid.
Document version: 2026-09-07
Latest news
Latest knowledge base articles
-
AI Assistant in the ForNAV Designer (beta)
-
Mapping from Business Central documents to ZUGFeRD and XRechnung
-
Using native Business Central ZUGFeRD generation with FORNAV reports
-
Repeater tables and barcodes in the ForNAV Template Editor
-
Controlling report language, format region, copies, and watermark with the Report Settings page
