Barcode Reader prompt

The Barcode Reader prompt lets users scan an item's barcode using the iPhone camera to answer a prompted report or document. Users can also type the barcode directly using a numeric keypad.

Note: Users can only scan item barcodes on the iPhone. However, the numeric keypad is available on both the iPhone and iPad.

You can add a Barcode reader prompt to a report or document by defining a prompt and setting its display style to Barcode Reader. The prompt as then displayed as a Barcode Reader when the report or document is executed on the iPhone or iPad.

You can:

Note: To support the scanning of barcodes using MicroStrategy Mobile for iPhone or iPad, you must store the barcode data used in the associated prompt with a database data type that supports text data. MicroStrategy recommends using the VarChar data type for your database to store the barcode data.

The following barcode types are supported:

For general information about prompts, see About prompts. For more information on prompts displayed on the iPhone or iPad, including the Geo Location and Barcode Reader prompts, see Creating iPhone and iPad prompts.

To create a Value prompt displayed as a Barcode Reader on the iPhone or iPad

Prerequisites

  1. Do one of the following:

  2. The Create Prompt page opens. Select the Text prompt option.

  3. On the General tab, specify a title and instructions for the prompt in the Title and Instructions fields.

  4. To require users to answer the prompt before running the report, specify whether the prompt requires an answer. Select the Prompt answer is required check box.

  5. To specify the minimum number of characters that can be entered as a bar code, select the Minimum number of characters check box and type a value in the field.

  6. To specify the maximum number of characters that can be entered as a bar code, select the Maximum number of characters check box and type a value in the field.

  7. You can determine whether users can save and reuse their prompt answers, and if so, how many prompt answers they can save for the prompt. From the Personal answers allowed drop-down list, select one of the following:

  8. On the Style tab, from the Display style drop-down list, select Barcode Reader.

  9. To ensure that the prompt's text fields and options are of a fixed size, select the Fixed textbox width check box and type a value in the field.

  10. To save the prompt, select Save As. The Save As dialog box opens.

  11. Specify a name, description, and the location in which to save the prompt and click OK.

To create an Attribute Element prompt displayed as a Barcode Reader on the iPhone or iPad

Prerequisites

  1. Do one of the following:

  2. The Create Prompt page opens with a list of the types of prompts you can create. Click Attribute Element List.

  3. Click Select Attribute. Select the attribute whose elements are displayed in the prompt and click OK. Users select their filter criteria from a list of these attribute elements.

  4. Choose one of the following options:

  5. On the General tab, specify a title and description for the prompt in the Title and Instructions fields.

  6. To require users to answer the prompt before running the report, specify whether the prompt requires an answer. Select the Prompt answer is required check box.

  7. Set the maximum and minimum number of prompt answers allowed, if desired. Enter these numbers in the Minimum number of answers and Maximum number of answers fields. You can specify a minimum number even if you do not specify a maximum number.

  8. Determine whether users can save and reuse their prompt answers, and if so, how many prompt answers they can save for the prompt. From the Personal answers allowed drop-down list, select one of the following:

  9. On the Style tab, from the Display style drop-down list, select Barcode Reader.

  10. From the Barcode mapping attribute form drop down list, select the attribute form to use to look up item barcodes. When a user scans or types a barcode with the iPhone, the barcode value is used to filter the list of attribute elements. Only the elements whose attribute form value matches the barcode are displayed.

  11. To save the prompt, select Save As. The Save As dialog box opens.

  12. Specify a name, description, and the location in which to save the prompt and click OK.

Related topics