Creating a Date Selection widget for display on the iPad

The Date Selection widget allows users to display an interactive event calendar on an iPad with MicroStrategy Mobile. Users can display a list of events in the calendar by month, week, and day, display events using different colored headers based on the event category they belong to, and search for events using the Search field.

You can display events in the calendar using different colors depending on the event's category. For example, release dates for movies are displayed as events in the calendar, and the movies are divided into categories based on the rating of the movie. You can display movies rated PG in green, movies rated PG-13 in yellow, and movies rated R in red, as shown in the image below.

Example of a calendar displayed in Week View

You can choose to automatically assign a color to the each category, or assign a specific color to each category. For example, if colors are automatically assigned and the movies displayed in the calendar above are filtered to only display movies with an R-rating, R-rated movies may be displayed in green instead of red. Instead, you can define the color to display for each category, to make sure R-rated movies are always displayed in red, PG-13 movies are always displayed in yellow, and so on. For steps to determine how colors are assigned to event categories, see Formatting a Date Selection widget for display on the iPad.

A Date Selection widget displays by default as:

You can change how the widget is displayed on the iPad, and in different display modes when viewed in MicroStrategy Web. For example, you can choose to display the widget as a grid or graph report when viewed on the iPad, or as a placeholder when viewed in Express Mode. For steps, see Determining how a widget is rendered in non-Flash modes.

You can have the widget display additional information about an event in an Information Window when a user taps the event on the iPad. For steps, see To define an Information Window for a Date Selection widget.

To create and add a Date Selection widget to an iPad document

Prerequisites

  1. Open the document in Design or Editable Mode.

  2. From the Insert menu, point to Widgets, then iPhone/iPad. Select Date Selection.

  3. Click the location on your document where you want to place the widget. If desired, resize the widget's Grid/Graph by clicking and dragging its handles.

  4. From the Dataset Objects panel on the left, select attributes and drag them on top of the widget. Place at least two attributes on the Grid/Graph's rows, as described below.

You can choose to display an Information Window when a user taps on an event on the iPad, to provide additional information about the event. Steps to add an Information Window to the widget are below.

To define an Information Window for a Date Selection widget

Prerequisite

  1. Open the document in Design or Editable Mode.

  2. From the Insert menu, select Panel Stack.

  3. Click the location on your document where you want to place the panel stack. The panel stack is added to the document.

  4. Add content to the panel stack, such as images and data fields. For more information on adding content to a panel stack, as well as steps to format the panel stack, see Inserting a panel stack into a document.

  5. Right-click the panel stack, then select Properties and Formatting. The Properties and Formatting dialog box is displayed.

  6. From the left, select General.

  7. Select the Use as Information Window check box.

  8. Click OK to return to the document.

  9. Right-click the event attribute on the rows of the widget's Grid/Graph, then select Use as Selector. By default, the selector automatically targets all Grid/Graphs and panel stacks in the same panel or document section as the selector. You can disable automatic target maintenance and choose targets manually. For more information on automatically maintaining selector targets, see Automatically maintaining targets for selectors.

Related topics