> For the complete documentation index, see [llms.txt](https://docs.sprinto.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinto.com/data-library/vendors/dashboard-actions/preview-vendor-document-files.md).

# Preview Vendor Document Files

Learn how to preview a vendor's PDF or image document file in a side panel inside Sprinto, instead of downloading it first.

Open a vendor's PDF or image file in a side panel and read it without downloading it first.

Vendor documents used to offer only **Download**, so seeing what a file actually contained meant downloading it and opening it on your own machine. Preview lets you check a file in place — page by page for a PDF, or fitted to the panel for an image — and download is still one click away if you need the file itself.

{% hint style="info" %}
Phased rollout
{% endhint %}

***

#### Who can use this

| Role   | Can preview a vendor document file |
| ------ | ---------------------------------- |
| Admin  | Yes                                |
| Editor | Yes                                |
| Viewer | Yes                                |

Preview is read-only and available wherever you can already see **Download** on that screen — it adds no new permission of its own.

***

#### 1. Preview a file from the vendor document drawer

1. Navigate to **Data Library > Vendors > All vendors**, then open the vendor.
2. Go to the **Documents & links** tab.
3. Open the document you want to look at. This opens its drawer with one row per file.
4. Hover a PDF or image file row. A **Preview** eye icon appears next to **Download**, and the file name becomes a link.
5. Click the file name, or the eye icon, to open the file in a side panel.

{% hint style="info" %}
A single-file document works the same way — hover or click its row for the same **Preview** control.
{% endhint %}

***

#### 2. Read a PDF or image inside the panel

* **PDFs** open page by page. Use the panel's page controls to move through the document, and **Zoom in**, **Zoom out** or **Fit to width** to resize it (50%–200%, in 25% steps; **Fit to width** is the default).
* **Images** (PNG, JPG/JPEG, GIF, WEBP) fit the panel width by default, with the same **Zoom in**, **Zoom out** and **Fit to width** controls.
* **Download** is always available from the panel header if you want the file itself.

{% hint style="info" %}
Other file formats — Word, Excel, CSV and anything else the panel can't render — show "Preview not available for this file format. Download it to view." instead of a preview, with Download still available. No **Preview** control is offered for these files in the first place.
{% endhint %}

{% hint style="info" %}
If a file can't load in the panel — for example, a corrupted PDF — Sprinto shows an error message with Download, instead of leaving the panel stuck loading.
{% endhint %}

***

#### 3. Preview a file from the Vendor Documents list

The same **Preview** eye icon is available next to the file button in the Vendor Documents list, so you don't need to open the drawer first.

1. Navigate to **Data Library > Vendors > All vendors**, then open the vendor.
2. Go to the **Vendor Documents** list.
3. Hover or click a PDF or image row's file cell, then click the eye icon to open it in the preview panel.

{% hint style="info" %}
The **Documents & links** table itself doesn't show a Preview icon — open the document first, then preview its files from the drawer.
{% endhint %}

***

#### 4. Preview and malware scanning

Preview follows the same malware-scan rule as Download:

* While a file is still being scanned, its **Preview** control is disabled with a "Scanning for security threats" tooltip, the same as Download.
* A file that's blocked or failed scanning isn't offered for preview, and shows the same blocked message Download already shows.

***

#### FAQs

<details>

<summary>Which file types can I preview in-app?</summary>

PDFs and images (PNG, JPG/JPEG, GIF, WEBP). Every other format — Word, Excel, CSV, and so on — shows "Preview not available for this file format" with a Download button, instead of a preview.

</details>

<details>

<summary>Does this change how Download works?</summary>

No. Download behaves exactly as it did before, on every screen, whether or not you use Preview.

</details>

<details>

<summary>Can I preview a document added as an external link instead of an uploaded file?</summary>

No. Linked documents have no Preview control and still open the link in a new tab, because the content lives on a third-party site.

</details>

<details>

<summary>Who can preview a vendor file?</summary>

Anyone who can already see Download for that file on that screen — Admins, Editors and Viewers alike. Preview adds no new permission, and someone without access to the Vendors area still can't reach these screens.

</details>


---

# 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.sprinto.com/data-library/vendors/dashboard-actions/preview-vendor-document-files.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.
