cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anthony_Dob
Continued Contributor
Continued Contributor

Scan a QR code to open a Portal App and populate Portal app with data assigned to the QR code

Hi,

 

Case: We have a event coming up, around 400ish people would attend this event. Every attendee get's a pendant with his own barcode. The idea is that people would browse to a Portal App we make and login with Azure AD. There they have a barcode scanner to scan other peoples QR code and see basic details about that person and this would be linked to a simple game with a few questions about this person.

 

#1 We were thinking about doing this in a Portal App because there would be a lot of external people coming.

 

#2 Is it possible to scan person A's QR code from within a Portal App , this would open up a new screen in the app and start the game which should have a few very basic details about person A (name etc).

 

Best Regards,

Anthony

5 REPLIES 5
Nogueira1306
Super User
Super User

Hey! The QRCode needs to have that information... The rest is possible...
For example, I have an aplication for cars and I scan a QRCode with the license plate and, after that, I do a lookup on a form to show me the detail of that scan

 

The question MUST be asociated with the person in order to work...

If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!

Best regards,
Gonçalo Nogueira

Check my LinkedIn!

Check my User Group (pt-PT)!

Last Post on Community

Anthony_Dob
Continued Contributor
Continued Contributor

@Nogueira1306 ,

 

So a Qr code scanner is a feature control in a Power Apps Portal? And it would be possible to open another screen inside that Power Apps Portal with that persons details which you scanned?

 

Best Regards,

Anthony

I am not sure if it exists in Power Apps Portal.. But it exists on Canvas app.

 

Yes. You just need to save the value that you scanned into a var.

 

For example, your scanner hAs this value:
Name: Gonçalo

 

On property OnScan set this: Var(Scanned, BarcodeScanner.Value); Navigate(NewScrenn, None)

 

On the new screen add a textbox and insert the var Scanned as default

 

If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!

Best regards,
Gonçalo Nogueira

Check my LinkedIn!

Check my User Group (pt-PT)!

Last Post on Community

 

Anthony_Dob
Continued Contributor
Continued Contributor

Anyone who can confirm a way to use a barcode scanner in a Power Portal App? A canvas app can not be used in this case.

 

Best Regards,

Anthony

Nogueira1306_0-1634659025460.png

 

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-new-barcode-scanner

 

If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!

Best regards,
Gonçalo Nogueira

Check my LinkedIn!

Check my User Group (pt-PT)!

Last Post on Community

 

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,882)