Barcode Scanning


Spotfire contains a document property for adding the ability to scan machine readable codes (such as QR codes or bar codes). You can add this document property to an analysis designed to be used on an iOS mobile device. The document property is named AppMachineReadableCode and is of data type String.

An analysis that contains this document property displays an active barcode icon on an iOS mobile device. If the document property is not included in the analysis, the bar code icon is not available. The value of the document property is set by scanning a supported code. It is set to the empty string when no supported code is scanned.

The following machine readable code types are supported:

UPC-E

Code 39

Code 39 mod 43

EAN-13 (including UPC-A)

EAN-8

Code 93

Code 128

PDF417

QR

Aztec

You can create a table visualization with the document property to scan a code, and then add an expression that finds and filters the data. You could use such a feature for inventory control, for example. The tasks Creating Bar Code Reading Capability and Creating an Expression to Limit the Data to the Bar-Coded Entry describe how to apply this feature to a visualization to use on an iOS mobile device.

For more information about designing for iOS mobile devices, see Designing Spotfire® Analytics for Small-Screen Display.

See also:

Creating Bar Code Reading Capability

Creating an Expression to Limit the Data to the Bar-Coded Entry

Saving an Analysis file in the Library

Details on Document Properties – Properties

How to Edit Document Properties