An Attribute Element List prompt allows a user to choose from a list of attribute elements to be included in a filter or custom group. This is generally the simplest prompt for users to answer, because it offers the fewest number of answers to choose from and does not require the user to create a filtering statement.
You create the specific attribute elements to be displayed in the prompt, by using one of the following methods:
Selecting all elements associated with an attribute
Creating a filter that returns a limited list of elements from one attribute
Selecting specific attribute elements one by one
For an example and images of an Attribute Element prompt, see the Answering Questions about Data chapter in the MicroStrategy Basic Reporting Guide.
Of the three filter definition prompts for attributes, the Attribute Element prompt is the most restrictive, allowing users to choose from the fewest number of attribute elements to define their filter criteria. The Hierarchy prompt allows users to select from the widest number of attribute elements when they are choosing prompt answers to define their filtering criteria. The Attribute prompt is more restrictive than the Hierarchy prompt, but less restrictive than the Attribute Element prompt.
DHTML must be enabled. See Enabling DHTML in MicroStrategy Web.
If you want analysts to answer a prompt by selecting from the results of a search object, a search object must already be created.
Do one of the following:
On the MicroStrategy Web home page, click Create Prompt.
From any
folder page, click the Create
Prompt icon on the menu.
The Create Prompt page opens with a list of the types of prompts you can create. Click Attribute Element List.
To determine the attribute whose elements the user is able to choose from
Click the Select Attribute button. 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.
To define the specific elements the user is able to choose from
Choose one of the following options:
List all elements (no restriction): This option displays all of the attribute’s elements to the user when he is answering the prompt.
Use a predefined list of elements: Select this option to create a list of attribute elements from which users can choose. Click Add, select the elements, then click OK. To remove an object, highlight it and click Remove. To remove all items, click Clear.
Use a filter to reduce the number of elements: This option is useful for attributes with a large number of elements, such as Customer or Employee. You can select a filter that returns a specific set of customers, for example, the top 100 customers this month. Browse to and select the filter.
Click the General tab.
Specify a title and instructions for the prompt in the Title and Instructions fields.
To restrict the number of prompt answers
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.
Set the minimum and maximum 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.
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:
None: Users cannot save and reuse prompt answers.
Single: Users can save and reuse only one prompt answer.
Multiple: Users can save and reuse multiple prompt answers.
To specify the layout and display style of the prompt
Click the Style tab.
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 one of the following:
Radio Button: This prompt lets users select an attribute element option by selecting a radio button.
Check Box: This prompt lets users specify attribute elements by selecting check boxes.
Pull Down: This prompt lets users select an answer from a drop-down list.
List: This prompt lets users select prompt answers from a list.
Shopping Cart: This prompt lets users add attribute elements to a list of selected attribute elements.
Calendar: This prompt lets users answer the prompt by selecting a date on a calendar.
Barcode Reader: This prompt lets users answer the prompt by scanning or typing a bar code.
Geo Location: This prompt lets users filter the attribute element list based on their current geographical location.
Note: Styles for iPhone and iPad prompts, including the Calendar, Barcode Reader, and Geo Location display styles, only display when the prompt is viewed on an iPhone or iPad with MicroStrategy Mobile. Certain styles are only available for specific types of Attribute Element List prompts. For more information on iPhone and iPad prompts, see About iPhone and iPad prompts.
Depending on the prompt's type and display style, you can specify other available formatting options:
To ensure that the prompt's text fields and options are a fixed size, select the Fixed textbox width and/or Fixed textbox height check boxes, and specify the size of the prompt's text fields and options in the fields.
To determine how prompt options are arranged, from the Orientation drop-down list, select Vertical or Horizontal.
To determine the number of prompt answers displayed in a row or column (depending on alignment), select the Items per column/row check box and type a number in the field.
To determine whether to allow users to use a search box to locate prompt answers, from the Show search box drop-down list select FALSE or TRUE. Searching for objects allows analysts to quickly locate specific objects to use to answer the prompt.
To require using the search box to locate prompt answers, select the Make search required check box.
For the Barcode Reader prompt style, to specify the attribute form used to look up item barcodes, select an attribute form from the Barcode mapping attribute form drop down list.
For the Geo Location prompt style, from the Select location mapping level drop-down list, select the level at which you wish to filter elements in the attribute. For example, select City to filter the attribute elements by the current city in which the iPhone is located.
To select the attribute whose elements you want to filter, click the Select Attribute button. Browse to and select the attribute, then click OK.
If you are using the Shopping Cart display style, you can select the Use folder structure check box to display the prompt choices in a folder structure. This option, available for search objects only, is useful when the same object with the same name is saved in multiple folders.
To allow users to navigate above the root folder when searching, select the Allow navigation above search root check box.
To specify the earliest date that can be selected to answer the prompt, select a date from the Minimum Date calendar.
To specify the latest date that can be selected to answer the prompt, select a date from the Maximum Date calendar.
To save the prompt
To save the prompt, select Save As. The Save As dialog box opens.
Specify a name, description, and the location in which to save the prompt and click OK.
You can now add your new prompt to a report. See Adding a prompt to a report.