Editing a record  Customizing mobile application templates

Chapter 4: Creating a Mobile Application from an Existing Web Application

Inserting a field

In this tutorial, use the Filter wizard to insert a new field in an existing record.

StepsInserting a field

These steps assume that Record 2, Field 1 has the words “Sybase Sites,” and the remaining fields in Record 2 are blank.

  1. In the Filter window, look for the Add Filter Rule section of the window.

  2. Insert a new field:

    1. Select Insert Field from the drop-down list.

    2. Select “before” from the “before/after” drop-down list to place the new field before an existing field.

    3. Select “label” from the “number/label” drop-down list to choose a label from a list of defined labels.

    4. Select Class from the drop-down list to insert the new field before the Class field.

    5. Click Add. The Filter window is updated with the new rule, and a new field is inserted in the grid before the Class field.

  3. Click Finish to close the Finish window.

  4. In the Application Builder, look for the customerSites element name in the left pane, and select “Content” from the drop-down list next to the customerSites element to add the element to the template.

  5. Click Save in the Application Builder window to save the customerSites application, then click OK to confirm.

  6. Optionally, you can click Preview to see your application. The new row, with Sybase Sites, is included, but the new column does not display because you did not change the grid rule to include columns 1 – 4. Close the Preview window when you are finished.

  7. Click Close to close Application Builder.





Copyright © 2005. Sybase Inc. All rights reserved. Customizing mobile application templates

View this book as PDF