Document viewer
The Document viewer portlet allows users to view documents and images in the portal.
General
General data is required for all portlets, see General.
Events
To set up an event, see Events.
Data
To set up a data source, see Data.
Presentation
File Type: The type of the file, e.g., PDF.
Supported formats: For documents, PDF is supported. For images, we recommend JPEG, JPG, PNG, and WEBP. Other formats can work as the images are rendered directly in the browser but there can be limitations in what the browser supports.
File Name: The name of the file.
File Data: The file data.
Interaction
Export Settings
Applies to PDF documents only.
Exportable: Set to
true
to add the download option in the toolbar.
PDF Actions
Applies to PDF documents only.
Forms: Set to
true
to add options in the toolbar for editing and creating forms in the document.Annotations: Set to
true
to add options in the toolbar for adding annotations to the document.Organize Pages: Set to
true
to add options in the toolbar for organizing the pages in the document.
CRUD
If any PDF action is set to true
and the document is editable, the document must be savable. A component is used to perform Create, Read, Update, and Delete (CRUD) actions.
Select Handler: Choose the component to be used for CRUD actions.
Supported Actions: Select the specific CRUD actions to be supported.
Style
To configure style, see Style.
Last updated