> For the complete documentation index, see [llms.txt](https://docs.apryse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apryse.com/appian/open-save-documents/open-save.md).

# Opening and Saving Files in Appian

Apryse WebViewer is an Appian component that allows you to open and edit various file formats in Appian without needing MS Office software. Learn how to efficiently manage and save files with this ver

## Overview

Apryse WebViewer is an Appian component that allows you to open and edit the following file formats in Appian:

* PDF, PDF/A
* DOCX, XLSX, PPTX (MS Office software or licenses are **not** required)
* JPG, PNG

After editing the file succcessfully, you can save a new version or save to the same document.

## Opening Files

You have multiple options for opening files:

* `appianDocId` is used to pass a file id of a document stored in Appian. You can pass a single file id or a list of ids. When passing a list, all files will be merged into one document in the sequence of the file list.
* `url` is used to pass a file url (the URL has to return the actual file). Note that you must have access to the file, and may have to add your Appian environment to the CORS whitelist of the externally hosted file.
* Filepicker - you can use the sandwich menu on the top left of the viewer UI to select a local file and open it in the viewer inside of Appian. Note that you may have to enable filepicker in your UI customization if the `Open File` option is not visible in the menu.

## Saving files

You have the following options to save files:

* Save - use the `Save` button on the top right to save changes to a new document
* Save as - use the `Save as..` button on the top right to save the document as a new file. You can rename the file in the modal that pops up
* Extracting pages - you can open the Left Panel in the viewer and select pages that you would like to extract. Use the `Extract Pages` button to open a modal, that lets you create a new document from the selected pages. You also have the option of removing the selected pages from the current document you are working on, or keeping the document intact after page extraction.
* Downloading files - you can use the sandwich menu on the top left of the viewer to save a file to your local computer


---

# 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.apryse.com/appian/open-save-documents/open-save.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.
