> For the complete documentation index, see [llms.txt](https://compassly.gitbook.io/compassly-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://compassly.gitbook.io/compassly-docs/core-modules/files/preview-a-file.md).

# Preview a File

**Audience:** Super Admin, Admin, Supervisor, Clinician, Basic\
**Page type:** Task guide\
**Owner:** Product / Training / Support\
**Status:** Draft\
**Last verified:** 2026-04-03

## Before you start

* You must be on the **Files** page.
* The item must be a file type that Compassly can preview in the app.

## Steps

1. On the **Files** page, find the file you want to open.
2. Select the file name in the **File name** column.
3. Review the file in the preview modal.
4. Use the preview controls if you need to zoom or move through the file.
5. Select the download button if you want to save a copy to your device.
6. Close the preview modal when you are finished.

## What to expect

* Supported files open in the preview modal.
* Link-type items open in a new browser tab instead of the in-app file preview.
* Some file types may not support in-app preview.

## Role differences

* **Super Admin / Admin / Supervisor / Clinician / Basic:** Can open and preview supported file types.

## What happens next

After you close the preview, you return to the **Files** page. You can continue reviewing the list or open another file.

## Related guides

* [View the Files Repository](/compassly-docs/core-modules/files/view-files-repository.md)
* [Delete a File](/compassly-docs/core-modules/files/delete-a-file.md)


---

# 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://compassly.gitbook.io/compassly-docs/core-modules/files/preview-a-file.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.
