# DashboardGenerationOptions Interface

> DashboardGenerationOptions interface in the TX Sheet Control TypeScript API for Node.js, with 10 properties and a TypeScript example.

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

---

Deterministic generation settings. Existing dashboards are changed only with an explicit target and strategy.

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 |
|---|---|
| [fieldRoles](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardgenerationoptions/fieldroles-property/llms-full.txt) | Explicit field role overrides keyed by sourceId.fieldId. Identifier defaults never become summed amounts. |
| [maxWidgets](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardgenerationoptions/maxwidgets-property/llms-full.txt) | The maxWidgets value of DashboardGenerationOptions. |
| [name](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardgenerationoptions/name-property/llms-full.txt) | The name value of DashboardGenerationOptions. |
| [scope](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardgenerationoptions/scope-property/llms-full.txt) | The scope value of DashboardGenerationOptions. |
| [selection](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardgenerationoptions/selection-property/llms-full.txt) | The selection value of DashboardGenerationOptions. |
| [sourceIds](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardgenerationoptions/sourceids-property/llms-full.txt) | The sourceIds value of DashboardGenerationOptions. |
| [strategy](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardgenerationoptions/strategy-property/llms-full.txt) | The strategy value of DashboardGenerationOptions. |
| [targetId](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardgenerationoptions/targetid-property/llms-full.txt) | The targetId value of DashboardGenerationOptions. |
| [template](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardgenerationoptions/template-property/llms-full.txt) | The template value of DashboardGenerationOptions. |
| [templateMode](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardgenerationoptions/templatemode-property/llms-full.txt) | Replace uses only the developer template; append fills remaining capacity after the default rules. |

### Examples

Configure DashboardGenerationOptions for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.

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

const dashboardGenerationSettings: NonNullable<
    Parameters<ServerSheetControl['workbook']['dashboards']['generate']>[0]
> = { name: 'Sales overview' };
```

### See Also

- [TypeScript Node.js Server API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/llms-full.txt)
- [Creating Dashboards](https://docs.textcontrol.com/tx-sheet-control/dashboards/creating/llms-full.txt)

---

## In This Section

- [DashboardGenerationOptions.fieldRoles Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardgenerationoptions/fieldroles-property/llms-full.txt): DashboardGenerationOptions.fieldRoles property in the TX Sheet Control TypeScript API for Node.js: Explicit field role overrides keyed by sourceId.fieldId.
- [DashboardGenerationOptions.maxWidgets Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardgenerationoptions/maxwidgets-property/llms-full.txt): DashboardGenerationOptions.maxWidgets property in the TX Sheet Control TypeScript API for Node.js, with its type number | undefined and a TypeScript example.
- [DashboardGenerationOptions.name Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardgenerationoptions/name-property/llms-full.txt): DashboardGenerationOptions.name property in the TX Sheet Control TypeScript API for Node.js, with its type string | undefined and a TypeScript example.
- [DashboardGenerationOptions.scope Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardgenerationoptions/scope-property/llms-full.txt): DashboardGenerationOptions.scope property in the Node.js TypeScript API, with its type "workbook" | "selection" | undefined and a TypeScript example.
- [DashboardGenerationOptions.selection Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardgenerationoptions/selection-property/llms-full.txt): DashboardGenerationOptions.selection property in the TX Sheet Control TypeScript API for Node.js, with a TypeScript example.
- [DashboardGenerationOptions.sourceIds Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardgenerationoptions/sourceids-property/llms-full.txt): DashboardGenerationOptions.sourceIds property in the TX Sheet Control TypeScript API for Node.js, with its type string[] | undefined and a TypeScript example.
- [DashboardGenerationOptions.strategy Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardgenerationoptions/strategy-property/llms-full.txt): DashboardGenerationOptions.strategy property in the Node.js TypeScript API, with its type "replace" | "merge" | undefined and a TypeScript example.
- [DashboardGenerationOptions.targetId Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardgenerationoptions/targetid-property/llms-full.txt): DashboardGenerationOptions.targetId property in the TX Sheet Control TypeScript API for Node.js, with its type string | undefined and a TypeScript example.
- [DashboardGenerationOptions.template Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardgenerationoptions/template-property/llms-full.txt): DashboardGenerationOptions.template property in the TX Sheet Control TypeScript API for Node.js, with its syntax and a TypeScript example.
- [DashboardGenerationOptions.templateMode Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardgenerationoptions/templatemode-property/llms-full.txt): DashboardGenerationOptions.templateMode property in the TX Sheet Control TypeScript API for Node.js: Replace uses only the developer template.

---

## Nearby

- **Previous:** [DashboardDefinition.highlight Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboarddefinition/highlight-property/llms-full.txt)
- **Next:** [DashboardGenerationOptions.fieldRoles Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardgenerationoptions/fieldroles-property/llms-full.txt)
