Strategy ONE

Allowing users to choose from a list of attribute elements: Attribute element prompts

An attribute element prompt lets users select prompt answers from a limited list of specific attribute elements.

The table in the steps below provides a list of attribute element prompt types that you can create in MicroStrategy Web for use on a mobile device. To create a prompt that accomplishes a specific goal, find the task you want to perform in the first column in the table, then see the remaining columns for the display style, recommendations, and requirements to create the prompt. For images of each prompt display style, see Allowing users to filter data: prompts.

For more information about attribute element prompts, see the MicroStrategy Web Help.

To create an attribute element prompt

  1. On the MicroStrategy Web home page, click Create prompt.

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

  3. To determine the attribute whose elements the user can choose from, click Select Attribute. Select the attribute whose elements are displayed in the prompt and click OK.

  4. To define the elements that a user can choose from, choose one of the following options:

    • To display all the attribute elements to users while they are answering the prompt, choose List all elements (no restriction). This option is recommended only if there are a small number of elements for the attribute.

    • To create a list of attribute elements from which users can choose, select Use a predefined list of elements. This option is recommended if users need to choose from a specific set of elements.

      To select the elements, click Add, then click OK. To remove an object, highlight it and click Remove. To remove all items, click Clear.

    • To narrow the list of available attribute elements by using a filter, choose Use a filter to reduce the number of elements. This option is recommended for attributes with a large number of elements.

      For example, you can restrict the Customer attribute by only showing the top 100 customers. Browse to and select the filter.

      Filtered attribute element prompts apply to iOS devices. On Android devices, all attribute elements are displayed.

  1. Click the General tab.

  2. Specify a title and description for the prompt in the Title and Instructions fields.

  3. 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.

  4. Optionally, set the maximum and minimum number of prompt answers allowed. Enter these numbers in the Minimum number of answers and Maximum number of answers fields.

  5. Click the Style tab.

  6. You can determine the presentation style used to display the prompt to the user. The default is Shopping Cart. From the Display style drop-down list, select the presentation style you want to use.

  7. Depending on your requirements, select the appropriate display style and options by referring to the following table:

End Goal

Display Style

Setup Recommendations and Requirements

Select a date-based attribute element from a calendar

Calendar

Minimum date: Specify the earliest date that users can select.

Maximum date: Specify the latest date that users can select.

Select an attribute element from a list

List

Show search box: Specify whether users are presented with a search box to filter the list of attribute elements.

Make search required: Specify whether to require that users search for elements.

Use the current geographical location to filter attribute elements

Geo Location

Select location mapping level: Select the level at which to filter attribute elements. For example, if this option is set to City, the attribute elements will be filtered to include only those in the current city.

Select location mapping attribute: Select the attribute to use to filter the element list. The location mapping attribute must contain attribute forms for latitude and longitude, and these attribute forms must be visible on the template.

For a detailed description of the Geo Location prompt, see Prompting users for their location: Geo Location prompts.

Scan or type the barcode of an item to search for an attribute element

Barcode Reader

Show search box: Specify whether users are presented with a search box to filter the list of attribute elements.

Make search required: Specify whether to require that users search for elements.

Barcode mapping attribute form: Select the attribute form used to look up barcode information.

For a detailed description of the Barcode Reader prompt, see Creating Barcode Reader prompts.

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

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