The QR Code Reader widget is a beta feature and may not be available in your environment. If you are interested in using this feature, contact your Palantir representative.
The QR Code Reader widget allows you to prompt users to scan a QR code using their system camera. The widget allows you to flexibly configure a button to prompt users to scan a code:
Upon selecting the button, users are prompted to grant camera access, then they can scan one or more QR codes using a fullscreen camera:
The scanned QR code data is made available as a Workshop variable, which you can use as desired in your application. For example, you can show the scanned data to the user directly using a Markdown widget, use it to look up objects by configuring an Object Set variable, or use the scanned data to prefill an Action form input to capture the data into Foundry.
Below are the core configuration options for the QR Code Reader: