I have a PowerApp with dropdown values from a SP List; I have several cards that have dropdown values based on the first dropdown value. I would like to set up a scan button for the main dropdown input value, but still have the other dropdowns work with the scanned text input value. I hope this makes sense.
Example: SAP Equipment # populates FAA & Pump Name and other fields from a SP List.
Would like to scan SAP Equipment # and still populate the other fields.
Thanks for the assistance.
Solved! Go to Solution.
Hi @EvaAGarcia
The previous one was to display the scan button based on the dropdown value. In that case, "Critical" is the choice value.
Get Data based on Scanner Value
We have 2 options based on the scan value using the scanner.
1. Display individual data (Without form)
Set the onscan property of the scanner
Set(ScannedRecord, LookUp(DataSource,Barcode=Value(BarcodeScanner1.Value)))
Set the label control to display FAA and pump Name
FAADataCard.text = ScannedRecord.FAAColumnName
PumpNameDataCard.text = ScannedRecord.PumpNameColumnName
For Dropdown, Set the Default property as
ScannedRecord.ChoiceColumnName.Value
2. Display data on the form (Edit form)
Set Item property of Form as
LookUp(DataSource,Barcode=Value(BarcodeScanner1.Value))
and Datasource as SPListname or any data source
Hi @EvaAGarcia
Change the visible property for the Camera and Barcode Scanner control. In this case, I have a combo box named "ComboBox1"
BarcodeScanner and Camera Visible property is
ComboBox1.Selected.Value="Critical"
In this example, both are visible when combo box value is "Critical"
We can set it DisplayMode as well.
"Please do not forget to give kudos if you find the suggestion helpful or Accept it as a solution if works fine to help other users to find it useful. "
Hi @EvaAGarcia
Please let us know if anything needs on your post. We can help with this.
"Please do not forget to give kudos if you find the suggestion helpful or Accept it as a solution if works fine to help other users to find it useful. "
I finally have time to work on this scan feature. I'm not quite following what you have instructed.
In your example is "Critical" your column name?
Hi @EvaAGarcia
The previous one was to display the scan button based on the dropdown value. In that case, "Critical" is the choice value.
Get Data based on Scanner Value
We have 2 options based on the scan value using the scanner.
1. Display individual data (Without form)
Set the onscan property of the scanner
Set(ScannedRecord, LookUp(DataSource,Barcode=Value(BarcodeScanner1.Value)))
Set the label control to display FAA and pump Name
FAADataCard.text = ScannedRecord.FAAColumnName
PumpNameDataCard.text = ScannedRecord.PumpNameColumnName
For Dropdown, Set the Default property as
ScannedRecord.ChoiceColumnName.Value
2. Display data on the form (Edit form)
Set Item property of Form as
LookUp(DataSource,Barcode=Value(BarcodeScanner1.Value))
and Datasource as SPListname or any data source
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
194 | |
52 | |
41 | |
39 | |
35 |
User | Count |
---|---|
263 | |
86 | |
71 | |
69 | |
66 |