Using the Mobile Template Editor

The mobile template editor displays whenever you edit an existing mobile template, or generate a new mobile template. It allows you to preview mobile templates, view content, and modify certain general mobile template properties. To generate and edit a mobile template for a specific device type, see Generate a Mobile Template.

Accessing the Mobile Template Editor

  1. Double-click the template you want to edit, or select File|New|Template. The mobile template editor appears.

  2. The following tables describe the various mobile template editor pages/sections: Introduction, Properties, Content, and Preview.

    Introduction

    The Introduction section displays initially when you launch the mobile template editor.

    Introduction

    ActionDescription
    StartOpens the Content page/section, which displays the location of the mobile template.
    Cheat Sheet Launches the Mobile Development cheat sheets, which guide you through the process of developing mobile applications, generating new mobile templates, deploying to a mobile device, and so on. You can also access the tutorials from the main menu by selecting Help|Cheat Sheets|Mobile Development and the cheat sheet name.
    HelpDisplays a context-sensitive help dialog box, from which you can navigate to Mobile development help by selecting Sybase WorkSpace|Mobile Development.

    Content

    When you click the Content tab, the XML content and path that defines the mobile template displays.

    Properties

    The Properties section of the mobile template editor contains general information about the mobile template.

    Properties

    PropertyDescription
    General

    • Category – displays the device type for which this mobile template is associated. See Mobile Device Types for more information.

    • Type – defines the type of template. See Mobile Template File Types for more information.

    • Status – selects the folder to which the template belongs. Mobile templates are normally stored in the Approved folder.

    • Options – click Active to make the template available to Unwired Accelerator users. To be active, the mobile template must also have a status of " Approved."

    Roles

    Assign the appropriate roles to the mobile template. When you assign a role to a mobile template, all users assigned that role can access the mobile template in Unwired Accelerator.

    Note

    Once you add a mobile application to a page, the roles assigned to the page and mobile applications supersede the roles assigned to the underlying mobile template. A mobile template's roles pertain only to which roles can access mobile templates in Unwired Accelerator.

    See Roles and the Unwired Accelerator Developer's Guide for more information.
    InformationDisplays status and information about the mobile template.
  3. Preview your changes by clicking the Preview tab. Select File|Save to save your changes.

Previewing Templates

Working with the Template Editor

Roles

Favorite Configurations

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