# Document viewer

The document viewer displays the documents contained in the folder structure of the document tree. It connects to the document list to display selected documents inside the portlet.

### Basic Data

&#x20;**Internal name** - unique string to identify this portlet.\
&#x20;**Portlet title** - title of the portlet, does not have to be unique.\
&#x20;

![](/files/-M-u4WZxHpL1Yv15EdDs)

### Auto Refresh

&#x20;Auto Refresh enables the portlet to refresh the data every SS:second.&#x20;

![](/files/-M-u4YrJu16bO4bb-Im9)

### Commands

Commands enables the portlet to listen for events sent by other portlets to execute specified commands. **The portlet will listen to the following commands**

* updateDocument
* onRefresh

**The portlet will listen to the following portlets** *Specify which portlet the commands above will trigger from*. The portlets that appears will be shown with their unique internal name.&#x20;

![](/files/-M-u4bSLyDr7GvLXFuAz)


---

# Agent Instructions: 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:

```
GET https://help.novacuraflow.com/6.12/development/portal/portlets/document-viewer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
