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

# ISwitchDashboardTab

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

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Command to switch to a different dashboard tab.

**Signature:**

```typescript
export interface ISwitchDashboardTab extends IDashboardCommand 
```
**Extends:** [IDashboardCommand](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardcommand/index.md)

## Remarks

This command will: - Save the current layout and filter context to the currently active tab - Switch to the specified tab - Load the new tab's layout and filter context into the main dashboard state

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [payload](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iswitchdashboardtab/index.md#iswitchdashboardtabpayload) | `readonly` | [ISwitchDashboardTabPayload](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iswitchdashboardtabpayload/index.md) | **_(ALPHA)_** |
| [type](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iswitchdashboardtab/index.md#iswitchdashboardtabtype) | `readonly` | "GDC.DASH/CMD.TAB.SWITCH" | **_(ALPHA)_** |

## Property details

### ISwitchDashboardTab.payload

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
readonly payload: ISwitchDashboardTabPayload;
```

### ISwitchDashboardTab.type

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
readonly type: "GDC.DASH/CMD.TAB.SWITCH";
```
