Opening iPhone or iPad applications in documents

A document displayed on an iPhone or iPad can interact with the applications that are installed with the iPhone or iPad. For example, a document can send addresses to Google Maps for directions or open a video on YouTube. These applications include:

Note: Only the Email and Maps applications are available on the iPad.

To allow users to open an iPhone or iPad application in a document, create a hyperlink. A hyperlink connects a text field or an image to a web page (the target). When the document is viewed on an iPhone or iPad, the user can click the control to navigate to the target.

For example, you create a document for the regional managers for a chain of stores. This document contains information about each of the stores in the manager’s region. The information includes the store’s address, phone number, the store manager’s email address, its inventory figures, and so on. When the regional manager views this document on his iPhone, he can click a link to:

Example of iPhone link

Note: Links created using the Link Editor are not supported in MicroStrategy Mobile for iPhone, except for links created in:

To create a hyperlink to an iPhone or iPad application

  1. Open the document in Design or Editable Mode.

  2. To use a text field for the hyperlink, complete the following steps (see the next step for instructions to add an image instead):

    1. From the Insert menu, select Text.

    2. Click in the section of the document where you want to place the text field. If you click and drag in the section, you can size the text field.

      Note
      : To ensure that the area of a link is large enough to recognize a user selecting it, make sure it has a height and width of at least 40 pixels.

    3. Type the text to be displayed to users into the text field. You can add static text, dynamic text (in the form of data fields and auto text codes), or a combination to the text field:

  3. Note: For background information about adding text to documents, see About adding text and data to documents.

  4. To use an image for the hyperlink, complete the following steps:

    1. From the Insert menu, select Image.

    2. Click in the section of the document where you want to place the image. If you click and drag in the section, you can size the image. The Properties and Formatting dialog box opens.

    3. Type the address of the image file to insert in the Source field.

    4. Click OK. The image appears in the document.

      Note
      : For background information about adding images to documents, see Adding images to documents.

  5. Right-click the text field or image that you just added, and select Properties and Formatting. The Properties and Formatting dialog box opens.

  6. From the left, click General, then select the Is hyperlink check box.

  7. In the Hyperlink field, delete the http:// text that is automatically filled in. Following the syntax in the table below, type the hyperlink into the Hyperlink field. You can type static text, dynamic text (in the form of data fields and auto text codes), or a combination to the text field, as described below.

  8. Click OK to return to the document.

When you create a hyperlink to open an iPhone or iPad application, you must use the syntax provided in the table below. Two examples are included for most hyperlink types. The first example replaces the italicized variables in the syntax with specific, static text, while the second replaces it with an attribute, so that the hyperlink can change according to the data in your document.

Task

Hyperlink Syntax

Compose an email

mailto:EmailAddress

Examples:

  •  

  • mailto:jdoe@example.com

  • mailto:{Store@ManagerEmail} where Store is an attribute and ManagerEmail is an attribute form containing the email address of the store's manager

Compose an email with a subject, message, and cc address

mailto:EmailAddress?cc=EmailAddress&subject=SubjectLine&body=Message

Example:

  •  

  • mailto:jdoe@example.com?cc=msmith@example.com&subject=
    Greetings%20from%20MicroStrategy!&body=I%20have%20reviewed%20your%20store’s%20sales%20results%
    20and%20have”%20the%20following%20feedback%20for%20you:

Call a phone number (iPhone only)

tel:PhoneNumber

Examples:

  •  

  • tel:1-555-555-5555

  • tel:{StorePhone} where StorePhone is an attribute

Use SMS links (iPhone only)

sms:SMSNumber

Examples:

  •  

  • sms:1-555-555-5555

  • sms:{MgrPhone} where MgrPhone is an attribute

Display a location in Google Maps

http://maps.google.com/maps?q=City

Examples:

  •  

  • http://maps.google.com/maps?q=Chicago

  • http://maps.google.com/maps?q={CustomerCity} where CustomerCity is an attribute

Get directions from Google Maps

http://maps.google.com/maps?daddr=Destination&saddr=Start

Examples:

  •  

  • http://maps.google.com/maps?daddr=Washington+,DC&saddr=Chicago

  • http://maps.google.com/maps?daddr={CustomerAddress}&saddr={StoreAddress} where CustomerAddress, StoreAddress are attributes

Open a video

Type the URL of the video in the Hyperlink field.

Example:

  •  

  • http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?i=?id=375385132

 

Related topic