> 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="/files/KBndK8vQXJj1C8jdPB7r" 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="/files/dUzzwqKKpiZElkKuagnL" 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="/files/DbZLXKzQGQPHp5dFKcsh" 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="/files/nSA6FQgo20dhvdILjAiY" 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="/files/zXqcrYrIIJ2ZDPdTjINL" alt=""><figcaption><p>Side-by-side view for a PDF file</p></figcaption></figure>

<figure><img src="/files/GuhUNi32RJ2rGZ3C8AB4" 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](/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="/files/IEyvdA1LRlLkWoDZctZT" 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="/files/4l8YbtML4Tjc6xtBSIla" 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.tonic.ai/textual/datasets-preview-output/dataset-file-preview/file-preview-redacted-file/file-preview-select-view.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
