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

# IDashboardLayoutSectionItemReplacedPayload

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: interface
- Stability: beta
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/model/events/layout.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).
> 

Payload of the [IDashboardLayoutSectionItemReplaced](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemreplaced/index.md) event.

**Signature:**

```typescript
export interface IDashboardLayoutSectionItemReplacedPayload 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [itemIndex](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemreplacedpayload/index.md#idashboardlayoutsectionitemreplacedpayloaditemindex) | `readonly` | number | **_(BETA)_** Index of item within the section that was replaced. |
| [items](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemreplacedpayload/index.md#idashboardlayoutsectionitemreplacedpayloaditems) | `readonly` | ReadonlyArray&lt;[ExtendedDashboardItem](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.extendeddashboarditem/index.md)&gt; | **_(BETA)_** New item definition. |
| [path](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemreplacedpayload/index.md#idashboardlayoutsectionitemreplacedpayloadpath) | `readonly` | [ILayoutItemPath](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ilayoutitempath/index.md) | **_(BETA)_** Path of item that was replaced. |
| [previousItem](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemreplacedpayload/index.md#idashboardlayoutsectionitemreplacedpayloadpreviousitem) | `readonly` | [ExtendedDashboardItem](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.extendeddashboarditem/index.md) | **_(BETA)_** Item that was replaced |
| [sectionIndex](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemreplacedpayload/index.md#idashboardlayoutsectionitemreplacedpayloadsectionindex) | `readonly` | number | **_(BETA)_** Index of section where the replacement happened. |
| [stashIdentifier?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemreplacedpayload/index.md#idashboardlayoutsectionitemreplacedpayloadstashidentifier) | `readonly` | [StashedDashboardItemsId](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.stasheddashboarditemsid/index.md) | **_(BETA)_** _(Optional)_ If the replacement specified to stash the old item, then the identifier of the stash is included here. |

## Property details

### IDashboardLayoutSectionItemReplacedPayload.itemIndex

> **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).
> 

> Warning: This API is now obsolete.
> 
> The prop will be removed in the next major SDK version. Use [IDashboardLayoutSectionItemReplacedPayload.path](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemreplacedpayload/index.md#idashboardlayoutsectionitemreplacedpayloadpath) instead.
> 
> TODO LX-648: Remove property in the next major version.
> 

Index of item within the section that was replaced.

**Signature:**

```typescript
readonly itemIndex: number;
```

### IDashboardLayoutSectionItemReplacedPayload.items

> **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).
> 

New item definition.

**Signature:**

```typescript
readonly items: ReadonlyArray<ExtendedDashboardItem>;
```

### IDashboardLayoutSectionItemReplacedPayload.path

> **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).
> 

Path of item that was replaced.

**Signature:**

```typescript
readonly path: ILayoutItemPath;
```

### IDashboardLayoutSectionItemReplacedPayload.previousItem

> **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).
> 

Item that was replaced

**Signature:**

```typescript
readonly previousItem: ExtendedDashboardItem;
```

### IDashboardLayoutSectionItemReplacedPayload.sectionIndex

> **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).
> 

> Warning: This API is now obsolete.
> 
> The prop will be removed in the next major SDK version. Use [IDashboardLayoutSectionItemReplacedPayload.path](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemreplacedpayload/index.md#idashboardlayoutsectionitemreplacedpayloadpath) instead.
> 
> TODO LX-648: Remove property in the next major version.
> 

Index of section where the replacement happened.

**Signature:**

```typescript
readonly sectionIndex: number;
```

### IDashboardLayoutSectionItemReplacedPayload.stashIdentifier

> **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).
> 

If the replacement specified to stash the old item, then the identifier of the stash is included here.

**Signature:**

```typescript
readonly stashIdentifier?: StashedDashboardItemsId;
```
