cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
matt1405
Helper I
Helper I

Looking data from cds for barcode scan.

Hi Everyone, 

I'm trying to lookup data from CDS related to a Barcode Scan. 

I want to scan QR Codes on boxes in a warehouse and return the box information and history to user from within PowerApps. 

Can anyone advise how to do a data lookup directly from the QR scan?

 

Thanks  

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @matt1405 .

 

Which field in the entity does the scan value relate to?

 

You can add a Form control, set the Items property as follows to show all info of scanned box.

LookUp(Entity, 'Field of Scan Value'=SearchValue)

 Sik

View solution in original post

4 REPLIES 4
v-siky-msft
Community Support
Community Support

Hi @matt1405 ,

 

In general, the output of Barcode Scan should correspond to the GUID field of the box entity or something like, and Use LookUp() formula to retrieve the record with box information and history from the Entity based on the Scan Output.

If you don't mind share details, we'd be able to provide much furtherer assistance.
Sik

Hi Sik, 

Thanks for your help. 

The app is to track boxes through a warehouse process, at any point they need to scan a QR Code and see the box history. 

Created By, Location, Creation Date and Stage. 

 

I've added a scanner

OnScan Set(SearchValue, BarcodeScanner1.Value)

and text box to show the code  

Default If(!IsBlank(SearchValue), SearchValue)

However I don't want to show the code I want to show related fields within the CDS Entity, ideally within a form. 

 

Any ideas

 

Thanks 

 

Hi @matt1405 .

 

Which field in the entity does the scan value relate to?

 

You can add a Form control, set the Items property as follows to show all info of scanned box.

LookUp(Entity, 'Field of Scan Value'=SearchValue)

 Sik

View solution in original post

Cheers Sik

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,448)