> For the complete documentation index, see [llms.txt](https://docs.hotwax.co/documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hotwax.co/documents/system-admins/administration/job-manager/data-documents/preview-export-schedule.md).

# Preview and export

Preview a data document, run an export, and manage an email-export schedule.

Open a saved document from `Data documents` > `Documents`.

## Preview the result

1. Open `Preview` and set the `Rows` limit.
2. Select `Preview`.
3. If there are unsaved changes, choose how to continue.

| Choice           | Result                                               |
| ---------------- | ---------------------------------------------------- |
| `Cancel`         | Return to editing without running a preview          |
| `Preview anyway` | Preview the saved document without the pending edits |
| `Save`           | Save the changes, then preview if saving succeeds    |

![Unsaved changes dialog with Cancel, Preview anyway, and Save](https://213371163-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvRjh4vkGRczeQJMpDxzL%2Fuploads%2Fgit-blob-d54df8acc856c6519df55eef549ce20e1728650a%2Fbuilder-preview-unsaved.jpg?alt=media)

*Preview anyway uses the saved definition. Choose Save to include pending field or condition changes.*

Confirm the returned columns and review representative rows against the saved fields and conditions. An empty preview can be valid when no records match. Review `Issues` and `Conditions` before changing the document.

## Choose the output scope

Preview runs against the saved document. Its `Rows` value limits the rows loaded for review. Search and column sorting then change which loaded rows you see.

```mermaid
flowchart TD
    accTitle: Data document preview and export scopes
    accDescr: Save the document fields and conditions, then either preview a limited number of rows and copy or download the visible preview, or queue an export of the saved document and track its result in export history.
    S[Saved fields and conditions] --> P[Preview: Rows limit]
    P --> C[Copy or CSV: visible preview rows]
    S --> E[Run export: saved document]
    E --> H[Recent Exports: status and result]
```

| Action                                     | What it produces                                                                                                |
| ------------------------------------------ | --------------------------------------------------------------------------------------------------------------- |
| `Copy`                                     | The displayed preview rows after search and sorting                                                             |
| `CSV` in the preview table                 | A download of those displayed preview rows                                                                      |
| `Run export` or the header `Export` action | A queued export of the saved document with its saved conditions, using the current default limit of 10,000 rows |

Preview search does not narrow a queued export. Save a condition in the document when that condition must apply to the exported data. If the expected result exceeds 10,000 rows, confirm an approved export plan before treating the file as complete.

## Review usage

Open `Usage` to understand where the document is referenced when usage information is available. Review dependencies before you remove or rename fields.

## Export the document

1. Save the latest changes.
2. Open `Preview`.
3. Select `Run export` in the preview table or `Export` in the header.
4. Confirm the `Data document export queued.` message.
5. Open `Recent Exports` or `Export history` and inspect the result.

Export processing can continue after you leave the builder. Use export history to confirm the final status.

## Schedule an email export

Use the schedule action when the document supports email delivery.

1. Open the schedule form.
2. Enter the recipient and delivery values requested by the form.
3. Select a frequency or enter a custom cron expression.
4. Review the human-readable schedule.
5. Save the schedule.

Share exported data only with approved recipients. Confirm the document fields before you add an email address.

## Pause or resume an export schedule

Open the schedule list in the builder, then select the pause or resume control for the required schedule. Confirm the resulting state before you leave the page.

## Review recent exports

Open `Recent Exports` to inspect exports for the current document. Select an export to open its detail.

Use [Export history](https://docs.hotwax.co/documents/system-admins/administration/job-manager/data-documents/export-history.md) to investigate exports across documents.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.hotwax.co/documents/system-admins/administration/job-manager/data-documents/preview-export-schedule.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
