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

# IScheduledEmailDialogDashboardAttachmentsProps

- 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/presentation/automations/scheduledEmail/types.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).
> 

Props of the scheduled-export dialog's dashboard-attachments field.

**Signature:**

```typescript
export interface IScheduledEmailDialogDashboardAttachmentsProps 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [dashboardFilters?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledemaildialogdashboardattachmentsprops/index.md#ischeduledemaildialogdashboardattachmentspropsdashboardfilters) |  | [FilterContextItem](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.filtercontextitem/index.md)[] | **_(BETA)_** _(Optional)_ Dashboard filters the export is scoped to; the control passes them back as the second argument of every [IScheduledEmailDialogDashboardAttachmentsProps.onDashboardAttachmentsChange](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledemaildialogdashboardattachmentsprops/index.md#ischeduledemaildialogdashboardattachmentspropsondashboardattachmentschange) call. |
| [exportTemplates?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledemaildialogdashboardattachmentsprops/index.md#ischeduledemaildialogdashboardattachmentspropsexporttemplates) |  | [IExportTemplate](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iexporttemplate/index.md)[] | **_(BETA)_** _(Optional)_ Export templates offered in the template picker of the slide-based formats. |
| [isCrossFiltering](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledemaildialogdashboardattachmentsprops/index.md#ischeduledemaildialogdashboardattachmentspropsiscrossfiltering) |  | boolean | **_(BETA)_** When true and at least one attachment is selected, the control shows the notice that exports do not reflect cross-filtering. |
| [isSlidesExportEnabled](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledemaildialogdashboardattachmentsprops/index.md#ischeduledemaildialogdashboardattachmentspropsisslidesexportenabled) |  | boolean | **_(BETA)_** Whether the slide-based formats (PPTX, PDF slides) are offered; when false they are excluded from the add-attachment options. |
| [onDashboardAttachmentsChange](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledemaildialogdashboardattachmentsprops/index.md#ischeduledemaildialogdashboardattachmentspropsondashboardattachmentschange) |  | (formats: [DashboardAttachmentType](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.dashboardattachmenttype/index.md)[], filters?: [FilterContextItem](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.filtercontextitem/index.md)[]) =&gt; void | **_(BETA)_** Replaces the selected dashboard export formats. Called with the complete new selection and the current [IScheduledEmailDialogDashboardAttachmentsProps.dashboardFilters](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledemaildialogdashboardattachmentsprops/index.md#ischeduledemaildialogdashboardattachmentspropsdashboardfilters). |
| [onSlidesTemplateIdChange?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledemaildialogdashboardattachmentsprops/index.md#ischeduledemaildialogdashboardattachmentspropsonslidestemplateidchange) |  | (templateId: string \| undefined, format: "PPTX" \| "PDF\_SLIDES" \| "PDF") =&gt; void | **_(BETA)_** _(Optional)_ Sets the export template of one slide-based format. |
| [onXlsxSettingsChange](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledemaildialogdashboardattachmentsprops/index.md#ischeduledemaildialogdashboardattachmentspropsonxlsxsettingschange) |  | (settings: [IExportDefinitionVisualizationObjectSettings](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iexportdefinitionvisualizationobjectsettings/index.md)) =&gt; void | **_(BETA)_** Sets the XLSX export settings. |
| [selectedAttachments](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledemaildialogdashboardattachmentsprops/index.md#ischeduledemaildialogdashboardattachmentspropsselectedattachments) |  | [DashboardAttachmentType](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.dashboardattachmenttype/index.md)[] | **_(BETA)_** The selected export formats. |
| [slidesTemplateIds?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledemaildialogdashboardattachmentsprops/index.md#ischeduledemaildialogdashboardattachmentspropsslidestemplateids) |  | { PPTX?: string; PDF\_SLIDES?: string; PDF?: string; } | **_(BETA)_** _(Optional)_ The template chosen per slide-based format; undefined where the default template applies. |
| [xlsxSettings](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledemaildialogdashboardattachmentsprops/index.md#ischeduledemaildialogdashboardattachmentspropsxlsxsettings) |  | [IExportDefinitionVisualizationObjectSettings](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iexportdefinitionvisualizationobjectsettings/index.md) | **_(BETA)_** XLSX export settings shown in the attachment's settings editor. |

## Property details

### IScheduledEmailDialogDashboardAttachmentsProps.dashboardFilters

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

Dashboard filters the export is scoped to; the control passes them back as the second argument of every [IScheduledEmailDialogDashboardAttachmentsProps.onDashboardAttachmentsChange](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledemaildialogdashboardattachmentsprops/index.md#ischeduledemaildialogdashboardattachmentspropsondashboardattachmentschange) call.

**Signature:**

```typescript
dashboardFilters?: FilterContextItem[];
```

### IScheduledEmailDialogDashboardAttachmentsProps.exportTemplates

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

Export templates offered in the template picker of the slide-based formats.

**Signature:**

```typescript
exportTemplates?: IExportTemplate[];
```

### IScheduledEmailDialogDashboardAttachmentsProps.isCrossFiltering

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

When true and at least one attachment is selected, the control shows the notice that exports do not reflect cross-filtering.

**Signature:**

```typescript
isCrossFiltering: boolean;
```

### IScheduledEmailDialogDashboardAttachmentsProps.isSlidesExportEnabled

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

Whether the slide-based formats (PPTX, PDF slides) are offered; when false they are excluded from the add-attachment options.

**Signature:**

```typescript
isSlidesExportEnabled: boolean;
```

### IScheduledEmailDialogDashboardAttachmentsProps.onDashboardAttachmentsChange

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

Replaces the selected dashboard export formats. Called with the complete new selection and the current [IScheduledEmailDialogDashboardAttachmentsProps.dashboardFilters](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledemaildialogdashboardattachmentsprops/index.md#ischeduledemaildialogdashboardattachmentspropsdashboardfilters).

**Signature:**

```typescript
onDashboardAttachmentsChange: (formats: DashboardAttachmentType[], filters?: FilterContextItem[]) => void;
```

### IScheduledEmailDialogDashboardAttachmentsProps.onSlidesTemplateIdChange

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

Sets the export template of one slide-based format.

**Signature:**

```typescript
onSlidesTemplateIdChange?: (templateId: string | undefined, format: "PPTX" | "PDF_SLIDES" | "PDF") => void;
```

### IScheduledEmailDialogDashboardAttachmentsProps.onXlsxSettingsChange

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

Sets the XLSX export settings.

**Signature:**

```typescript
onXlsxSettingsChange: (settings: IExportDefinitionVisualizationObjectSettings) => void;
```

### IScheduledEmailDialogDashboardAttachmentsProps.selectedAttachments

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

The selected export formats.

**Signature:**

```typescript
selectedAttachments: DashboardAttachmentType[];
```

### IScheduledEmailDialogDashboardAttachmentsProps.slidesTemplateIds

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

The template chosen per slide-based format; undefined where the default template applies.

**Signature:**

```typescript
slidesTemplateIds?: {
        PPTX?: string;
        PDF_SLIDES?: string;
        PDF?: string;
    };
```

### IScheduledEmailDialogDashboardAttachmentsProps.xlsxSettings

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

XLSX export settings shown in the attachment's settings editor.

**Signature:**

```typescript
xlsxSettings: IExportDefinitionVisualizationObjectSettings;
```
