cancel
Showing results for 
Search instead for 
Did you mean: 

Generate QR Code

I was thinking about having the ability to generate a QR code based on a variable or dynamic. Being able to set the QR code to a itemlink in a sharepoint list would be helpful too. 

Status: New
Comments
Frequent Visitor

If someone have this solution, kindly share with us. Since Workflow is no longer release for SharePoint 2016. it is better to use other solution like Power Automate. I have tried to use Power Automate, to get ID from item when new item created, concat(var,var,2,ID) and try to update item in sharepoint but I cannot update/find picture column in Power Automate.... 😞 

Responsive Resident

@Eliska18  I actually did find a way to do it, if you still would like an answer.

 

Frequent Visitor

@FoDelementYes. I would like to know the answer. Would you share with me? Thanks 🙂

Responsive Resident

EDIT: I just realized I posted this in Flow not PowerApps. But the idea should be the same, I will test it out and update you when I have an answer for Flow.


@Eliska18 

The trick is to setup an Image control. Then set it to "https://chart.googleapis.com/chart?cht=qr&chs=100x100&chl=" & SOMEVARIABLE

 

SOMEVARIABLE can be anything from your app. For an example, I like to use the ID of a SharePoint list item.

Frequent Visitor

@FoDelementI get it! Thanks man. 🙂

Responsive Resident

@Eliska18 

EDIT: I can't post images for some reason.

 

What I did was, I created a String Variable and set it to https://chart.googleapis.com/chart?cht=qr&chs=200x200&chl=DYNAMICCONTENT

DYNAMICCONTENT is what you want the QR code scan as.

 

I used the HTTP action as GET and put the in the URL field, my variable we just created. Then I used a SEND EMAIL V2 action, and put Body of the HTTP command as the attachment content.

 

I just tested this and it works. I had it send it as an email, but you could use create file and put it on SharePoint, or whatever else you want.

 
Frequent Visitor

@FoDelementCurrently I was using Power Automate, Send an HTTP Request to SharePoint. I think we are using almost the same method.