> For the complete documentation index, see [llms.txt](https://docs.tonic.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tonic.ai/textual/datasets-preview-output/dataset-file-preview/file-preview-redacted-file/file-preview-select-view.md).

# Selecting the view

## De-identified view - output

For a de-identified file, the de-identified view reflects the output version of the file.

Entity values are redacted, synthesized, or ignored based on the dataset configuration.

In PDF and image files, values for entity types that use the **Redact** handling option are covered by black boxes.

<figure><img src="https://3072847115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvOPn7KQptPWmS5iKg5P0%2Fuploads%2FJN49iS6JNuwdIecdhWzQ%2FDatasetFilePreviewPDFRedacted.png?alt=media&amp;token=19a70efd-d03d-4cf1-aa4b-caaa90636f88" alt=""><figcaption><p>De-identified view for a PDF file</p></figcaption></figure>

In text files, redacted values are replaced with the entity type followed by a unique identifier. The values are highlighted to indicate whether the corresponding entity type redacted, synthesized, or ignored.

<figure><img src="https://3072847115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvOPn7KQptPWmS5iKg5P0%2Fuploads%2Fiznhcyfpk4laWuB4ICeX%2FDatasetFilePreviewTextRedacted.png?alt=media&amp;token=dec84245-be97-426b-bfeb-f0ea00c8244d" alt=""><figcaption><p>De-identified view for a text file</p></figcaption></figure>

## Original view - source

To display the original version of the file, click the original version icon. In original view, the detected entities are highlighted.

PDF and image files use a single color for the highlighting.

<figure><img src="https://3072847115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvOPn7KQptPWmS5iKg5P0%2Fuploads%2Fv7YCaHyAzXKD3zRl9kJ9%2FDatasetFilePreviewPDFOriginal.png?alt=media&amp;token=2c9be8e2-ab78-4f53-8f4b-8185d65998e4" alt=""><figcaption><p>Original view for a PDF file</p></figcaption></figure>

Text files use different highlighting colors to indicate whether the corresponding entity type is redacted, synthesized, or ignored.

<figure><img src="https://3072847115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvOPn7KQptPWmS5iKg5P0%2Fuploads%2Fwzx56CKpHUu9f0tZDQ5Q%2FDatasetFilePreviewTextOriginalView.png?alt=media&amp;token=94ebbc78-464f-47ce-aee7-d41e230d7af0" alt=""><figcaption><p>Original view for a text file</p></figcaption></figure>

## Side-by-side view - source and de-identified

To display the original and de-identified versions next to each other, click the side-by-side icon.

<figure><img src="https://3072847115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvOPn7KQptPWmS5iKg5P0%2Fuploads%2FgN6GNev542fGTcyH3AkO%2FDatasetFilePreviewPDFSideBySide.png?alt=media&amp;token=e635596a-870f-4892-bdea-affcd2f85fe4" alt=""><figcaption><p>Side-by-side view for a PDF file</p></figcaption></figure>

<figure><img src="https://3072847115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvOPn7KQptPWmS5iKg5P0%2Fuploads%2FuRUFjdvEsbtpUSkRK1CK%2FDatasetFilePreviewTextSideBySide.png?alt=media&amp;token=8979eb71-fb8a-428d-8108-a8b79afe98c1" alt=""><figcaption><p>Side-by-side view for a text file</p></figcaption></figure>

## Mapped fields only view (PDF files)

When the dataset is [linked to a form label mapping](https://docs.tonic.ai/textual/dataset-configure-redaction/dataset-link-form-label-mapping.md), the file preview indicates when a value is identified from a form label mapping.

To change the preview to only display entities that are from mapped labels, toggle **Mapped fields only** to the on position.

<figure><img src="https://3072847115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvOPn7KQptPWmS5iKg5P0%2Fuploads%2Fjk6oQ38sraN0QGdFkBmZ%2FDatasetFilePreview_PDFMappedFieldsOnly.png?alt=media&amp;token=4505841a-4113-47e4-8961-ae37a0cf2327" alt=""><figcaption><p>PDF file preview with Mapped fields only enabled</p></figcaption></figure>

### Viewing the list of mapped labels

When **Mapped fields only** is in the on position, the **Form label mapping** list displays the list of mapped labels from the form label mapping.

To view only mapped labels that were detected in the current file, click **Detected**.

To view only the mapped labels that were not detected in the current file, click **Not detected**.

To view all of the mapped labels in the linked form label mapping, click **All**.

### Enabling and disabling a mapped label for a file

From the **Form label mapping** list, to disable a mapped label for the file, set the label toggle to the off position.

To enable the label, set the toggle to the on position.

## Navigating through a multi-page PDF file <a href="#pdf-multipage-navigation" id="pdf-multipage-navigation"></a>

For a PDF file that contains multiple pages, to navigate within the file, you can either:

* Scroll through the file.
* Use the next and previous page options at the top of the preview.
* Click a page thumbnail.

<figure><img src="https://3072847115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvOPn7KQptPWmS5iKg5P0%2Fuploads%2F6bAdtFANnWdn72s1m5er%2FDatasetFilePreview_PDFMultiPage.png?alt=media&amp;token=237213a8-1a07-4e55-90a3-0ee524ffbc35" alt=""><figcaption><p>Preview of a multi-page PDF file</p></figcaption></figure>


---

# 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.tonic.ai/textual/datasets-preview-output/dataset-file-preview/file-preview-redacted-file/file-preview-select-view.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.
