Generate QR Code using Power apps

Loading

Requirement: Generate QR Code in power apps using Image, TextInput, and Button

Create a Blank canvas app, add label to the screen. Now add Textinput, Button and Image to the screen

Button- OnSelect Property declare a variable

Set(varQRData,TextInput1.Text)
Generate QR Code

On Image Property- 
If(varQRData="" || IsBlank(varQRData), "https://api.qrserver.com/v1/create-qr-code/?size=300*300&data=Example","https://api.qrserver.com/v1/create-qr-code/?size=300*300&data=" & varQRData )
Generate QR Code

Now Click on Preview button. and write the QR code in Textinput and click on Generate code and the result is the QR code will be changed as per the input code.

Generate QR Code

Leave a Reply

Your email address will not be published. Required fields are marked *