Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » MobiLink - Server Administration » MobiLink Server APIs » Direct row handling » Introduction to direct row handling

 

Quick start

In order to use direct row handling, you need familiarity with how to create a MobiLink consolidated database, add synchronization scripts, and create Mobilink remote users.

To synchronize with a data source other than a consolidated database, complete the following steps.

Overview of setting up direct row handling

  1. Set up a consolidated database, if you do not already have one.

    Whether or not you are synchronizing to a consolidated database, you need to have a consolidated database to hold MobiLink system tables.

    See MobiLink consolidated databases.

  2. If you want to handle uploads, write a public method using the UploadData interface and register it for the handle_UploadData connection event.

    See Handling direct uploads.

  3. If you want to handle downloads, write a public method using the DownloadData interface and register it for the handle_DownloadData connection event (or another event).

    See Handling direct downloads.

  4. If you want to use the row handling API to refer to columns by name (rather than by index), specify in your client that column names should be sent with the upload. See:

Other resources for getting started

You can post questions on the MobiLink newsgroup: [external link] sybase.public.sqlanywhere.mobilink