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

SQL Anywhere 12.0.0 » MobiLink - Server Administration » MobiLink server APIs » Direct row handling


Set up direct row handling

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.

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

    Whether 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