Document Viewer

Prev Next
Feature Details
Introduced in Version--
Modified in Version10.4
NoteDocument Viewer is now available for Simple Forms.

Overview

Document Viewer is a type of Form Control that displays documents on Forms during runtime. The control is commonly used to view and interact with documents as part of a workflow.

Supported File ExtensionsUnsupported File Extensions
.txt.docx/.doc 
.HTML.xlsx/.csv
.pdf.pptx 
.css.exe
.png.json
.jpg.XML

.xps

.tiff

.ods

Document Viewer can be found by navigating to ToolBox > Controls > Data.


Configuration

Click on the Document Viewer control to open the Properties Panel from the right side of the screen.

Common Properties
NameAllows to set the name for the Control
Input TypeChoose the type of input you wish to pass through Form Control. 

DocumentAllows to enter the Document ID. Users can find the Document ID by right-clicking on the document > Manage > Get Document ID.

FileDataAllows passing the FileData. For more information, refer to File Type Overview.

FileReferenceAllows passing the FileReference. For more information, refer to File References.
Static Input

When enabled allows uploading a single static file or passing the Document ID to the control.
When disabled, allows entering the Data Name.

Data NameAllows to enter a user-specific Data Name.
Data Name becomes an input parameter to the respective Form Control when the Form is used within a Flow. Users can map the Flow input to this parameter to pass the Input Type (Document ID/FileData/FileReference) dynamically.
Specify URL ParametersWhen enabled opens a new field to pass the URL parameters.

URL parametersAllows to pass the static URL Parameters, e.g., zoom=50.
Specify URL Parameters From Data NameWhen enabled allows passing URL parameters through Data Name.

URL parameters Data NameProvide a user-specific Nata Name.
Default Page NumberAllows to open a specific page of the document when the Form loads.

Page Number from Data NameAllows passing Page Number through Data Name.
Use Browser PDF Viewer (For v10.4+)Allows Users to switch from the built-in PDF viewer, which includes tools such as Zoom, Page Navigation, and Print, back to the browser's native PDF viewing experience.
Behavior
Initially VIsible SourceThis feature allows choosing whether the Form control should be visible or remain hidden when the form loads.

Constant Data > Initially VIsibleWhen enabled, the Form control (Document Viewer in this case) will be visible. If disabled, the control will be hidden.

From Flow Data > Initially Visible DataAllows configuring the Initially Visible Source through Data Name.
View > CSS ClassAllows the selection of a CSS class to be applied to the control.
Size and Tabs > EditProvides options to change the dimensions of the control and tab index.

Example

In the following example, a Form will be used in a Flow that will display a PDF Document.

  1. Create a Flow. Add a Form step to the Flow.
  2. In the Form Designer, add a Button for end users to submit the Form. Add the Document Viewer control from the Toolbox.
  3. Resize the Document Viewer control to provide a better view. Change its Input Type to FileData and give a Data Name. Set Default Page Number to 2.
  4. This completes the Form. Save the Form and close the Form Designer.
  5. In the Flow Designer, select SETUP INPUT DATA. Configure the input data type as File Data.
  6. Edit the Input and add a PDF file as constant to the Flow. Users can also upload a file while Debugging.
  7. Save and exit the Flow Input Data window.
  8. Click on the Form Step. On the Input of the Form, map the FileData value to the Input Defined.
  9. Debug the Flow. The Form will open the PDF Document direct to Page number 2 as it was configured in Step Number 3.

    Feature Changes

DescriptionVersionRelease DateDeveloper Task
Added a new Use Browser PDF Viewer property to the Document Viewer control for Pages and Forms. This option allows users to switch from the built-in PDF viewer, which includes tools such as Zoom, Page Navigation, and Print, back to the browser's native PDF viewing experience.

10.4October 2026[DT-048823]