Setting up a MobiLink application with the Create Synchronization Model Wizard

Use the Create Synchronization Model Wizard in Sybase Central to set up synchronization logic for a MobiLink application.

Prerequisites

There must be a MobiLink project defined.

Context and remarks

Many.

 Set up a MobiLink application with the Create Synchronization Model Wizard
  1. Use the MobiLink plug-in to create a MobiLink project for your consolidated database if you have not already created one.

    See Creating a MobiLink project.

  2. In the Folders view of Sybase Central, expand MobiLink 12 and your MobiLink project name, and then click Synchronization Models.

  3. From the File menu, click New » Synchronization Model to start the Create Synchronization Model Wizard.

  4. From the Welcome page, choose a name for your synchronization model. Your model is stored as a .mlsm file in the project directory. Click Next.

  5. On the Primary Key Requirements page, select the three checkboxes and then click Next. For more information about primary keys, see Unique primary keys.

  6. On the Consolidated Database Schema page, select the consolidated database for obtaining your consolidated database schema from the list, and then click Next. The schema from the consolidated database is loaded.

    If you chose an Oracle database, you may be prompted to choose a subset of owners because loading schema for all owners can take a long time.

  7. The Remote Database Schema page appears. You can create your remote database schema based on the consolidated database schema or an existing remote database. The existing remote database can be SQL Anywhere or UltraLite. For help deciding, see Remote schemas.

  8. Follow the remaining instructions in the Create Synchronization Model Wizard. Default recommendations based on best practices are used where possible.

  9. Click Finish.

Results

When you click Finish, the synchronization model is opened in the left pane of Sybase Central. You are now working offline and you can make changes to the model. No changes are made outside the model until you deploy the model: the consolidated database does not change and the remote database is not created or changed until that time. See Synchronization model tasks.

Next

Use the Deploy Synchronization Model Wizard to deploy the completed model. See Synchronization model deployment.


Remote schemas