# MailMergeTemplate Class

> MailMergeTemplate class in the browser JavaScript API: Captures template state and produces isolated merged workbooks without browser UI.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Class
- **Path:** TX Sheet Control > API Reference > JavaScript API > Browser Editor > MailMergeTemplate Class
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/mailmergetemplate/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/mailmergetemplate/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/mailmergetemplate/llms-full.txt

---

## On This Page

- [Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/mailmergetemplate/#constructor)
- [Members](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/mailmergetemplate/#members)
- [Examples](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/mailmergetemplate/#examples)
- [See Also](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/mailmergetemplate/#see-also)

---

## In This Section

- [MailMergeTemplate.events Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/mailmergetemplate/events-property/llms.txt): MailMergeTemplate.events property in the TX Sheet Control JavaScript API for the browser: File lifecycle notifications for each save of the captured template.
- [MailMergeTemplate.merge Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/mailmergetemplate/merge-method/llms.txt): MailMergeTemplate.merge method in the TX Sheet Control JavaScript API for the browser, with the return type Promise<MailMergeResult> and a JavaScript example.
- [MailMergeTemplate.save Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/mailmergetemplate/save-method/llms.txt): MailMergeTemplate.save method in the browser JavaScript API: Saves the captured template through the same format dispatcher as a workbook.

---

## Nearby

- **Previous:** [loadFontCatalog Function](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/loadfontcatalog-function/llms.txt)
- **Next:** [MailMergeTemplate.events Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/mailmergetemplate/events-property/llms.txt)
