Barcodes

Using smart attributes to scan barcodes.

Barcode smart attributes are curently supported on the Liquid UI for iOS, Windows Mobile, and Offline solutions. However, the barcode functionality will operate differntly depending on the platform. To demonstrate the barcode smart attibute option, please do the following:

Barcodes on iOS

To demonstrate the barcode reading functionality on the iOS platform, please do the following.

  1. Open the Easy Access script file (SAPLSMTR_NAVIGATION.E0100.sjs) and enter the following code. Create the script file if it does not already exist.

    inputfield ([16,1], "Test", [16,20], {"size":16, "smartattributes":"rf_barcode=true"});
  2. Save the changes and refresh the SAP screen.

  3. Use an iOS device to scan the barcode, either with the built-in cqamera or with a third-party scanner attached. If a scanner is attached, Liquid Ui will use the scanner. if no scanner is detected, Liquid UI will use the device's built-in camera.

  4. Liquid UI will automatically populate the inputfield with the barcode value.

Note: Click the Cancel button to manually enter the barcode into the field.

Barcodes on Mobile and Offline

When you use barcodes on an iOS device, you must include the following code in your script.

{"smartattributes":"rf_barcode=true"}

However, when you are reading barcodes with the Mobile or Offline solutions, the functionality is slightly different. In these cases, you will not have to include the "smartattributes":"rf_barcode=true" code. Instead, you need only include the 'rf_rfid' smart attribute introduced above. If the device detects a barcode, it will automatically scan the barcode and input the values into the field.