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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

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