Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
modeler
README.md
qrcode.png

README.md

QR Code

QR Code

Prerequisites

Description

This module allows you to generate a QR Code when a document is created in the platform. The QR Code points to the main file (i.e. file:content) by default.

Usage

  • Drag and drop a file
  • Scan the QR code from the metadata layout
  • Authenticate and download the file

Installation

Studio Modeler

  • Create a blob property to store the QR Code. In this example, we've imported the File document type with the DM External Template and create a property from its type schema file_schema:qrcode
  • Create an automation scripting with the content of AS_GenerateQRCode.js, with input as Document and output as blob
  • Create an event handler on the Document Created event to execute the previous automation scripting

Studio Designer

  • Insert the Nuxeo previewer in the document type layout
<nuxeo-document-preview document="[[document]]" xpath="file_schema:qrcode"></nuxeo-document-preview>

Configuration

  • You can choose to store the QR Code in any document property

Documentation Links

Issues and Limitations

  • You cannot use the Document URL instead of the File URL because of the # character: even if it is encoded in the automation scripting, it is not decoded on Google side, building an incorrect URL
You can’t perform that action at this time.