# RenderOptions.dashboardId Property

> RenderOptions.dashboardId property in the TX Sheet Control TypeScript API for Node.js, with its type string and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > RenderOptions > RenderOptions.dashboardId Property
- **380 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/renderoptions/dashboardid-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/renderoptions/dashboardid-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/renderoptions/dashboardid-property/llms-full.txt

---

Selects the dashboard to export instead of worksheet pages. Do not combine it with a worksheet sheetId.

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

### Syntax

```typescript
dashboardId?: string;
```

### Examples

Pass an initialized control and an existing dashboard. Apply a coordinated theme and export the current reporting context as a PDF.

```typescript
import { writeFile } from 'node:fs/promises';
import { type ServerSheetControl, type Dashboard, StreamType } from '@txtextcontrol/tx-sheet-control-server';

async function exportDashboard(control: ServerSheetControl, dashboard: Dashboard) {
    dashboard.applyTheme('dark-1');
    const bytes = await control.save(StreamType.PDF, {
        pdf: { dashboardId: dashboard.id, dashboardWidth: 1440, dashboardPage: 'fit' }
    });
    await writeFile('performance.pdf', bytes);
}
```

### Remarks

PDF branding follows the configured license and whether the editor or server generates the file. Browser animations and editing controls are omitted. TXWB remains the editable dashboard format.

### See Also

- [RenderOptions](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/renderoptions/llms-full.txt)

---

## Nearby

- **Previous:** [RenderOptions.viewerPreferences Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/renderoptions/viewerpreferences-property/llms-full.txt)
- **Next:** [RenderOptions.dashboardWidth Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/renderoptions/dashboardwidth-property/llms-full.txt)
