Adding new content types  Creating SAP applications

Chapter 3: Developing Applications

Creating file applications

Unwired Accelerator lets you create applications that are based on files. The file must contain data arranged in a format that can be mapped to grid data (see “Using grid rules” for information about grid rules, for example:

Using either file type, you can create an application element that uses the grid-rule functionality of Unwired Accelerator.

NoteUA uses the uploaded copy of the file, not the copy that is local to the browser. In other words, changes to the original file have no impact on the application created from the uploaded file. To have the changes take effect, you must upload the application again.

StepsCreating a file element

You can create file elements using files that use commas, tabs, semi-colons, colons, or spaces to separate data.

  1. Log in to Web Studio, select Build Applications, select New from the Application Manager Status menu, then click New to launch Application Builder.

  2. Click the arrow to the right of the Add button and select File Element. You see the New File Element window, which allows you to identify the file to upload from your local machine to the Unwired Accelerator server.

  3. Complete the File Element Definition options:

    Click Upload to the right of the Destination Location field. When the confirmation displays that the file was successfully uploaded, click OK.

  4. Click Preview to see the result.

  5. Click Next.

  6. In the Split window, split columns or rows using delimiters. See “Adding split rules”. Click Next.

  7. In the Define window, define the record layout and specify a record header. See “Defining record layout”. Click Next.

  8. In the Filter window, specify filter rules to select only the relevant data from the element. See “Adding filter rules”. Click Next.

  9. In the Preview window, enter a name for the file element.

  10. In the Continuous Capture window, click Finish.

  11. In the Application Builder, click Save. See “Saving applications”.





Copyright © 2005. Sybase Inc. All rights reserved. Creating SAP applications

View this book as PDF