647 views

Overview


Administrators can allowing barcode scanning in mobile applications via a String type field. This String type field can be present in any table's form view. Users (based on ACLs set) in the mobile UI can tap the Scan barcode icon and take a snapshot of the barcode/QR code to get the result in string format.

The following figure shows the barcode scanning field.

The native iOS and Android apps support scanning the following barcode types:
  • 1D barcodes: EAN-13, EAN-8, UPC-A, UPC-E, Code-39, Code-93, Code-128, ITF

  • 2D barcodes: QR Code, Data Matrix, PDF-417, AZTEC

 

Procedure


  1. In a browser window, access the instance and navigate to a record form (an incident or change record).

  2. Right-click in the form header and change the view to Mobile.

  3. Either use an existing String type field or create a new one that will be responsible for capturing the string data from the QR/barcode scanning.

    To create a new field:

    1. Right-click in the form header and choose Configure > Form Layout.

    2. Ensure that the view selected is Mobile.

    3. In the Create new field section, add a new String type field, and click Save.

  4. In the form, right-click the field and choose Configure Dictionary to display its dictionary record.

  5. Under the Attributes related list, click New to add a new attribute.

  6. Under Attribute field, select Enable barcode scanner and click Submit or Save.

  7. On your mobile device, access the instance and navigate to the record form where this field is present.

    The field has a barcode icon on the right as shown in the screenshot.

  8. Tap the barcode icon.

    Your mobile device's image scanner will open to scan the code.

    Note that if you are accessing it for first time, the application will ask for permissions to access your camera. Once recognized, it will redirect back to the form with the scanned string value in that field.

References


Article Information

Last Updated:2018-06-05 06:01:31
Published:2018-06-05