Skip to main content

Extended QR Code on Files

This article shows you how to use extended QR codes on files.

Updated over 3 weeks ago

Asite allows the configuration of the QR code function for files uploaded in all formats supported by Asite File Viewer with the help of workflow system tasks. Without the help of workflow system tasks, the QR code function is limited to files uploaded in PDF format only based on the project and folder configuration.

Let's take an example of a project wherein the QR code is enabled at the project and folder levels. To configure the QR code function for files uploaded in all formats supported by Asite File Viewer, a user has to follow the below steps based on the type of QR code:


1. Steps to follow in case of Static QR code type

Step 1: Configure a file system task for executing the Groovy script in the relevant project. You can use the Groovy script to embed the QR code (of 'Static' Type) when printing and downloading the document as required.

Step 2: Configure another file system task to execute the Groovy script in the same project. You can use the Groovy script to enable the 'Include QR code' option in download preference.

Step 3: Configure another file system task to execute the Groovy script in the same project. You can use the Groovy script to show the necessary details when scanning the QR code (for the 'Static' type).

Step 4: Once the system task containing the Groovy script is configured, the user can set up a file workflow trigger for the relevant folder in the same project. This workflow trigger should be configured to initiate the first system task upon the 'Download Documents' event in the selected project folder in the 'Pre' task mode.

Step 5: Once the system task containing the Groovy script is configured, the user can configure a file workflow trigger for the relevant folder in the same project. This workflow trigger should be configured to initiate the second system task upon the 'Download Documents' event in the selected project folder in the 'On-Load' task mode.

Step 6: Once the system task containing the Groovy script is configured, the user can configure a file workflow trigger for the relevant folder in the same project. This workflow trigger should be configured to initiate the third system task upon the 'QR Code Scan' event in the selected project folder in the 'On-Load' task mode.

2. Steps to follow in case of Dynamic QR code type

Step 2: Configure another file system task to execute the Groovy script in the same project. You can use the Groovy script to enable the 'Include QR code' option in download preference.

Step 3: Once the system task containing the Groovy script is configured, the user can configure a file workflow trigger for the relevant folder in the same project. This workflow trigger should be configured to initiate the first system task upon the 'Download Documents' event in the selected project folder in 'Pre' task mode.

Step 4: Once the system task containing the Groovy script is configured, the user can configure a file workflow trigger for the relevant folder in the same project. This workflow trigger should be configured to initiate the second system task upon the 'Download Documents' event in the selected project folder in the 'On-Load' task mode.


Once configured, the QR code will be visible while printing or downloading the file from the listing page. Accordingly, there would be an additional option for including a QR code in the 'Download Files' window as shown below:

If the 'Include QR Code' option is selected when downloading files, an extra PDF file will be included within the downloaded .zip file. This file will be a PDF version of the original parent file and feature the QR code.

Users can scan the featured QR code and retrieve file details according to the QR code configuration within the relevant project.



Did this answer your question?