Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
Community interest groups have now moved from Yammer to Microsoft Viva Engage. To join a Viva Engage community and take part in the latest discussions, fill out the Request access to Finance and Operations Viva Engage Community form and choose the community you want to join.
The QRCODE function returns a Container value that presents the Quick Response code (QR code) image for the specified string in binary format.
Syntax
QRCODE (text)
Arguments
text: String
A String value that represents the original text.
Return values
Container
The resulting binary stream.
Example
You can configure an Electronic reporting (ER) format to generate an outbound document in Microsoft Office format (Excel workbooks or Word documents) by using a predefined template. This template might contain a Picture object (Excel workbook) or a Picture Content Control (Word document) as a placeholder for a QR code image. Add a Cell element to the configured ER format that fills this placeholder. To specify what information the QR code stores, define a binding for this Cell element. For example, you can configure the binding to contain the following expression:
QRCODE (model.ListOfShelfLabels.LabelText)`
When you run the configured ER format, the text value of the LabelText field of the model.ListOfShelfLabels data source generates a QR code image. This image replaces a QR code image placeholder in the document template that you use to generate an outbound document. When you scan this image of the generated document, it returns the text that was taken from the LabelText field of the model.ListOfShelfLabels data source. For more information, see Embed images and shapes in documents that you generate by using ER.