# MailMergeBinding Interface

> MailMergeBinding interface in the TX Sheet Control TypeScript API for Node.js: Maps a data path to a template cell identified by worksheet ID and A1 address.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > MailMergeBinding Interface
- **447 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/mailmergebinding/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/mailmergebinding/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/mailmergebinding/llms-full.txt

---

Maps a data path to a template cell identified by worksheet ID and A1 address.

Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.

### Members

#### Properties

| Property | Description |
|---|---|
| [cell](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/mailmergebinding/cell-property/llms-full.txt) | The cell value of MailMergeBinding. |
| [path](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/mailmergebinding/path-property/llms-full.txt) | The path value of MailMergeBinding. |
| [sheetId](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/mailmergebinding/sheetid-property/llms-full.txt) | The sheetId value of MailMergeBinding. |
| [type](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/mailmergebinding/type-property/llms-full.txt) | The type value of MailMergeBinding. |

### Examples

Pass the MailMergeBinding value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

```typescript
import type { ServerSheetControl } from '@txtextcontrol/tx-sheet-control-server';

function inspectMailMergeBindingSheetId(
    mailMergeBinding: NonNullable<Parameters<ServerSheetControl['workbook']['setMailMerge']>[0]>['bindings'][number],
) {
    const value = mailMergeBinding['sheetId'];
    console.log('MailMergeBinding.sheetId', value);
}
```

### See Also

- [TypeScript Node.js Server API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/llms-full.txt)
- [Mail Merge With JSON](https://docs.textcontrol.com/tx-sheet-control/mail-merge/overview/llms-full.txt)

---

## In This Section

- [MailMergeBinding.cell Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/mailmergebinding/cell-property/llms-full.txt): MailMergeBinding.cell property in the TX Sheet Control TypeScript API for Node.js, with its type string and a TypeScript example.
- [MailMergeBinding.path Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/mailmergebinding/path-property/llms-full.txt): MailMergeBinding.path property in the TX Sheet Control TypeScript API for Node.js, with its type string and a TypeScript example.
- [MailMergeBinding.sheetId Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/mailmergebinding/sheetid-property/llms-full.txt): MailMergeBinding.sheetId property in the TX Sheet Control TypeScript API for Node.js, with its type string and a TypeScript example.
- [MailMergeBinding.type Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/mailmergebinding/type-property/llms-full.txt): MailMergeBinding.type property in the Node.js TypeScript API, with its type "string" | "number" | "boolean" | "date-iso" | undefined and a TypeScript example.

---

## Nearby

- **Previous:** [LocalizationResources Type](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/localizationresources/llms-full.txt)
- **Next:** [MailMergeBinding.cell Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/mailmergebinding/cell-property/llms-full.txt)
