Machine-readable codes
A machine-readable code is a bar code or a QR code. Spotfire supports several types of codes. You can add a document property to your Spotfire analysis that enables a mobile device to scan a code and filter the results in a data set containing a column of codes.
The example described in this section shows how to configure a Spotfire table visualization with the document property to scan a code, and then add an expression that finds and limits the data to display only the scanned entry. You could use this feature for inventory control, for example.
- Creating bar code reading capability
By adding theAppMachineReadableCode
document property of data typeString
to your analysis, you can activate the bar code reader capability on a mobile device that uses the analysis. - Adding a text area to display a scanned code
By adding a Spotfire Text Area and a details visualization to an analysis with bar code reading enabled, you can provide users with a view to show a scanned code value. - Creating an expression to limit the data to the bar-coded entry
After you add scanning capabilities for a mobile app user, add an expression to limit the data to show only the row that matches the scanned item.