Low-Code Designer > Setting up interfaces > Widget types > Data Widgets / File preview

File preview

The File Preview widget allows users to view the file contents on a form of a task or an app item. When you set up this widget, you must specify the context variable/app property of the File type.

To configure the widget, drag it to the canvas or click +Widget. Enter the settings in the pop-up window.

fp1

  • File. Select the File context variable. Click the <Not defined> link and select the variable you want. It contains the file for the preview.

Read more about the context variables in this article.

The Hide, Read only, HTML styles, On mouse enter handler, On mouse leave handler settings are the system widget settings. Read more about them in this article.

To finish the configuration, click Save and Publish.