cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Add a QR code to a Power App

Hi

I'm trying to generate a QR code in a app but hut can get my syntax right to pass the variable to the url string, I have tried many combinations to pass title as a QR code to an Image, such as 

"https://chart.googleapis.com/chart?cht=qr&chs=300x300&chl=Title"

Garbo62_0-1665053915430.png

 

4 REPLIES 4
poweractivate
Super User
Super User

@Anonymous 

 

"https://chart.googleapis.com/chart?cht=qr&chs=300x300&chl=" & Title

 See if it works now @Anonymous 

Anonymous
Not applicable

Hi sorry No luck, the url string must Start and end with "

"https://chart.googleapis.com/chart?cht=qr&chs=300x300&chl= [VALUE] "

So any idea what the syntax would be to add the Title in and keel the end "

@Anonymous 

 

Try it again like this:

 

"https://chart.googleapis.com/chart?cht=qr&chs=300x300&chl=" & Title

 

If the name of your control isn't Title then replace Title with the name of your Control.

 


@Anonymous wrote:

the url string must Start and end with "

"https://chart.googleapis.com/chart?cht=qr&chs=300x300&chl= [VALUE] "

 

That's not necessarily true because this is a Power Apps formula for the Image property of an Image Control. Try it again and see it will work.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,498)