---
schema_version: "1"
id: ff4f051a5f63e69f7192f1051fc2ed54ec2f3a0a341c74656376d856077ba317
title: DatasetExport
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_datasetexport.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_datasetexport.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 333ceb2955aa51d7d1c04abd12ba99499a2206552f12bb6f5ab386d478a15902
description: "Represents a dataset exported from CRM Analytics. When a dataset is exported, the data is converted into a .csv file and the schema is stored in a separate JSON file. These files are stored in two objects: DatasetExport and DatasetExportPart. DatasetExport acts as the header and includes the JSON schema."
---
# DatasetExport

Represents a dataset exported from CRM Analytics. When a dataset is exported, the data is converted into a .csv file and the schema is stored in a separate JSON file. These files are stored in two objects: DatasetExport and DatasetExportPart. DatasetExport acts as the header and includes the JSON schema.

## Supported Calls

describeSObjects(), query(), retrieve()

## Fields

| Field | Details |
| --- | --- |
| CompressedMetadataLength | 
Type

int

Properties

Filter, Group, Nillable, Sort

Description

This field is required when a record in an object contains a BLOB (binary large object) field. In the DataExport object, Metadata is the BLOB field.



 |
| Metadata | 

Type

base64

Properties

Nillable

Description

Contains the JSON schema that describes the data in the CSV. This schema includes column metadata such as type, format, and defaultValue.



 |
| MetadataLength | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

This field is required when a record in an object contains a BLOB (binary large object) field. In the DataExport object, Metadata is the BLOB field.



 |
| Owner | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

User ID of the owner, as specified in the userId parameter in the export node of the dataflow that created the record. Only the specified owner can read the content of the record.



 |
| PublisherInfo | 

Type

string

Properties

Filter, idLookup, Sort

Description

Identifies the export record to facilitate searching when a user has multiple export records. By default, this column is set to the ID of the dataflow that generated the export record, concatenated with the name of the specific export node. PublisherInfo is unique within your organization.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

A dataflow can have multiple export nodes.















 |
| PublisherType | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

Target of the export, as specified in the target parameter in the export node of the dataflow that created the record. The value must be EinsteinDiscovery.



 |
| Status | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

Status of the export. The possible values are:

- New
- InProgress
- Completed
- Canceled
- Failed

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

The content of the Metadata field can be downloaded when the status is Completed.















 |

## Usage

This object is used with the DatasetExportPart object for exporting data from a dataset in CRM Analytics for use in Einstein Discovery. An export is initiated using the export node in an Analytics dataflow.

#### See Also

- [DatasetExportPart](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_datasetexportpart.htm "Represents a dataset exported from CRM Analytics. When a dataset is exported, the data is converted into a .csv file and the schema is stored in a separate JSON file. These files are stored in two objects: DatasetExport and DatasetExportPart. DatasetExportPart contains parts of the .csv file.")