Creating Document Elements

The document element allows you to load an application document (Microsoft Word, Microsoft Excel, PDF, and so on) into a mobile application.

When you create document elements:

Creating a document element

  1. From the Mobile Application perspective, select File | New | Mobile Application.

  2. When the Mobile Application wizard appears, select Launch Element Wizard, select Document from the Element Type drop-down list, and click Finish.

    Alternatively, right-click the Mobile Application status folder in which you want to create the mobile application, and select Create (status name) Mobile Application With | Document Element.

  3. In the Document to Upload field, enter the full path to the document you want to upload, or click Browse to search for and select the document.

  4. In the Destination Location field, which is enabled when the Document to Upload field is not empty, accept the default folder name or append the default name with an additional folder name. Enter only the folder name; that is, do not enter the complete path. This is the location to which the document is uploaded.

    Sybase WorkSpace creates a document root level directory on the drive of your Unwired Accelerator installation and uses the current user's login name as the default folder. For example, if the default for the Destination Location displays "Smith", and the Unwired Accelerator installation drive is D:, the uploaded document is saved to D:\tmp\PortalDocs\Smith\.

    To create a different folder using this structure, enter another file name after the name that displays in the Destination Location field. For example, if the field displays "Smith" and you enter "\Smith," the file is uploaded to D:\tmp\PortalDocs\Smith\Smith.

  5. Click Upload. after the upload is successful, click OK.

  6. Document Name - displays the document's name.

  7. Content Type - from the drop-down list, select the type of content the document contains.

    If you do not see the content type you want, select Add New from the drop-down list to add a new content type.

  8. New Content Type - enabled only when you select Add New from the Content Type drop-down list. Enter the new type in this format:

      [application | image | text]/plug-in name
    

    Whether the new type works depends on whether there is an application and the plug-in installed for the content type specified. See "Adding new content types."

  9. Click Next. Preview the mobile application.

  10. Click Finish.

Adding new content types

When you create a document element and add a new content type, you must enter the name and type of the plug-in that allows you to view the document in a Web browser. The plug-in must also be registered with the Web browser.

Registering new content types with Internet Explorer

  1. Go to http://support.microsoft.com.

  2. Enter:

    306790

    In the Search the Knowledge Base field, and click the Go arrow.

    When a link to Microsoft Knowledge Base Article - 306790 "Description of Internet Explorer Support for Netscape-Style Plug-ins," click the link.

    This document describes how to register content types with Internet Explorer and how to specify the application associated with the document you want to view in the Web browser.

Editing Mobile Applications

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com