> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# saveDashboard()

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: function
- Stability: beta
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/model/commands/dashboard.ts

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Creates the SaveDashboard command. Dispatching this command will result in persisting all the accumulated dashboard modification to backend.

The command will not have any effect if dashboard is not initialized or is empty.

**Signature:**

```typescript
export declare function saveDashboard(title?: string, correlationId?: string): ISaveDashboard;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| title | string | _(Optional)_ new title for the dashboard; if not specified, the current title of the dashboard will be used |
| correlationId | string | _(Optional)_ specify correlation id to use for this command. this will be included in all events that will be emitted during the command processing |

**Returns:**

[ISaveDashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.isavedashboard/index.md)
