Adding Location or Machine Readable Capabilities to a Mobile-Ready 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.

About this task

Perform this task in Spotfire Analyst using a data set that has a string column containing bar codes or QR codes.

Before you begin

You must have completed the task Creating bar code reading capability.

Procedure

  1. On the menu, click Insert > Text Area.
  2. Right-click the new text area, and then click Properties.
  3. In the dialog, provide a title, such as Scanned Code, and then close the dialog to save the change.
  4. Click the Edit icon to edit the text area, and in the Edit Text Area dialog, insert a property control for the document property AppMachineReadableCode.
  5. Provide a text label for the control.
  6. Resize the text area to contain just this item and the title.

Results

You now have a text area where a scanned bar code or QR code will appear when a code is scanned by a mobile device using the analysis.
For example, this image shows a sample text area for containing the ISBN code, which appears as a bar code on the backs of books. The text box displays a captured ISBN code when it is scanned using a mobile device.
Text area showing ISBN bar code text area

What to do next

Create an expression to limit the data to the bar-coded entry.