web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

QRCode

(0) ShareShare
ReportReport
Posted on by 106

Hi!

 

I made a sample qrcode generator using this links: 

https://nextstepcreations.com.au/qr-codes-in-powerapps-quick-powerful/
https://goqr.me/api/

I use textinput, button, and image control to generate the code.

 

My onscan of barcode scanner is 

Launch(BarcodeScanner2_2.Value)

 

I can visit webpages generated in the image control with a variable qrCode, But when i sample a youtube video. Im getting "error occurred" and a playback id

qr.PNG
Categories:
I have the same question (0)
  • Verified answer
    rb Profile Picture
    835 Super User 2024 Season 1 on at

    Can you try with:

    EncodeUrl(TextInput1.Text)

     

    The API documentation recommends the data= property is URL encoded, which PowerApps can do: https://docs.microsoft.com/en-us/power-platform/power-fx/reference/function-encode-decode 

  • LxNeomi Profile Picture
    106 on at

    Hi @metsshan

     

    LxNeomi_0-1658818513918.png

    Button onselect is 

    EncodeUrl(TextInput1.Text)

    I added a label to check. Label text is Button1, when i click the button it changes to true. 

     

    If its , im getting "unexpected characters. formula contains "Parenclose" where "Eof" is expected. when i added the EncodeUrl

    Set(qrCode, "https://api.qrserver.com/v1/create-qr-code/?size=150×150&data=" & EncodeUrl(TextInput1.Text)

     

  • rb Profile Picture
    835 Super User 2024 Season 1 on at

    You are missing a closing bracket in that Set() expression.

  • LxNeomi Profile Picture
    106 on at

    Thank you @metsshan it works

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 528

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard