diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Entity/EntityExportModalProvider/EntityExportModalProvider.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Entity/EntityExportModalProvider/EntityExportModalProvider.component.tsx index 8c784882ea7..134defd2eb1 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Entity/EntityExportModalProvider/EntityExportModalProvider.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Entity/EntityExportModalProvider/EntityExportModalProvider.component.tsx @@ -121,7 +121,10 @@ export const EntityExportModalProvider = ({ if (exportType !== ExportTypes.CSV) { await exportUtilClassBase.exportMethodBasedOnType({ exportType, - exportData, + exportData: { + ...exportData, + name: fileName, + }, }); handleCancel(); diff --git a/openmetadata-ui/src/main/resources/ui/src/constants/Export.constants.ts b/openmetadata-ui/src/main/resources/ui/src/constants/Export.constants.ts index 7234a52674f..385f53fb0f4 100644 --- a/openmetadata-ui/src/main/resources/ui/src/constants/Export.constants.ts +++ b/openmetadata-ui/src/main/resources/ui/src/constants/Export.constants.ts @@ -13,4 +13,5 @@ export enum ExportTypes { CSV = 'CSV', PNG = 'PNG', + PDF = 'PDF', }