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

# DashboardTabSwitchSource

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: type-alias
- 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).
> 

What triggered a [ISwitchDashboardTab](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iswitchdashboardtab/index.md) command.

Open-ended set of values that may grow over time; treat unknown values defensively. When omitted, the switch is a regular user-initiated tab switch.

- `"drillToSelf"` - the switch is part of a drill to the same dashboard targeting a different  tab. The drill owns the target tab's filter context, so consumers that restore per-tab filter  state on switches (e.g. "Auto-save last state") should skip their restore for it.

**Signature:**

```typescript
export type DashboardTabSwitchSource = "drillToSelf";
```
