Pusťme se do toho
Začněte prosím zadáním svého pracovního nebo školního účtu.
Scan several types of barcodes by creating an app and running it on a device, such as a phone, that has a camera. The numerical equivalent of the barcode appears in a Label control, and you can upload that data to a variety of data sources.
If you're unfamiliar with PowerApps, see Get started.
Sign up for PowerApps, and then do either of the following:
Under Start with a blank canvas or template, click or tap Phone layout in the Blank app tile.
If you haven't used PowerApps before, get familiar with key areas of the app by taking the intro tour (or click or tap Skip).
Note: You can always take the tour later by clicking or tapping the question-mark icon near the upper-right corner and then clicking or tapping Take the intro tour.
On the Insert tab, click or tap Media, and then click or tap Barcode.
Ensure that the Barcode control is selected by confirming that a selection box (with handles to resize the control) surrounds it.
On the Home tab, click or tap Barcode1, and then type or paste MyScanner under Rename.
Tip: The first Barcode control that you add is named Barcode1 by default. If you delete that control and add another Barcode control, it will be named Barcode2 by default. By manually renaming a control, you ensure that formulas will refer to the control by its correct name.
On the Insert tab, click or tap Text, and then click or tap Text input.
If the Insert tab doesn't appear, maximize your PowerApps window.
Drag the selection box (not the resize handles) around the Text input control down until it appears below MyScanner.
With the Text input control still selected, ensure that Default appears in the properties list, and then type or paste MyScanner.Text in the formula bar.
On the Insert tab, click or tap Controls, and then click or tap Drop down.
Move the Drop down control so that it appears below the other controls on the screen.
With the Drop down control still selected, ensure that the properties list shows Items, and then type or paste this string of text in the formula bar:
[Codabar, Code128, Code39, Ean, I2of5, Upc]
On the Home tab, rename the Drop down control to ChooseType.
Click or tap MyScanner to select it, ensure that the properties list shows BarcodeType, and then type or paste this string of text in the formula bar:
Open Preview mode by pressing F5 (or by clicking or tapping the play button near the upper-right corner).
Hold a barcode up to the camera on the device until the numerical component of the barcode appears in the Label control.
If the numerical component doesn't appear, try a different option in the BarcodeType list. If the correct data still doesn't appear, type the correct number in the Input text control.