Showing results for 
Search instead for 
Did you mean: 
Not applicable

Barcode and Common data service - New form

Hi All,


I'm trying to create a Canvas App to check in members to classes. 


I have a dynamics model driven app which holds the all the data we require, to speed up the process we would like to scan members membership cards which have barcodes on. We have a field configured that shows the membership field, so the data is already inputted.


What I would like is that when a barcode is scanned, the 'Member ID' in my form is populated. This field is currently a 'look up' field. 


Any help would be much appreciated

Super User II
Super User II

Hi @Anonymous,

I assume the app would be access via a mobile device? If so, have you looked at the canvas app barcode control?

Here's a good tutorial to achieve that: Once scanned, you can retrieve the required details from CDS.

Hope this helps!


Not applicable

Hi Eric, 


Thanks for this. 

I am wanting to use the app to enter data in the common data service. I want to fill out a a new form.


I would like the follow sequence of events 


1. Scan barcode 

2. Barcode scan populates field in form and then I can submit the form into dynamics. 



Hi @Anonymous 


If I understand you correctly you are trying to figure out how to take the scanned barcode value and set a Lookup field based on that value?  In your Canvas app you can use the Lookup function to find the associated ‘member’ record and then use the Patch function to update the lookup field on the record CDS.


Hope that makes sense



Helpful resources

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

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!


Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Users online (82,650)