In this lesson, you use the Create Project Wizard to create a new MobiLink project. The Create Project Wizard also creates a synchronization model using the defaults, which can be edited later.
Prerequisites
This lesson assumes you have completed all preceding lessons. See Lesson 1: Setting up a MobiLink consolidated database.
This lesson assumes that you have the roles and privileges listed in the Privileges section at the start of this tutorial: Tutorial: Introducing MobiLink.
From Sybase Central, click Tools » MobiLink 16 » New Project.
The Create Project Wizard appears.
In the Name field, type mlintro_project.
In the Location field, type C:\MLintro. Click Next.
In the Database display name field, type mlintro_consdb.
In the Connection string field type dsn=mlintro_consdb and then click Next.
Ensure that the Product table is selected from the Which consolidated database tables and columns do you want to have in your remote database list, and then click Next.
Select the Add a remote schema name to the project option.
In the What do you want to name the new remote schema field, type sync_mlintro and click Next.
Select SQL Anywhere for the Which type of remote database do you want to use option and click Finish.
Click Yes to install the MobiLink system tables, and then click OK.
A synchronization model with the same name as your remote schema is created.
Select the Product table row from the Mappings tab.
On the Download Type tab in the Details pane, select Timestamp for the Download Type.
Select Use shadow table to hold timestamp column.
Using shadow tables is often preferred because it does not require any changes to existing tables. In contrast, the default setting adds a timestamp column to your table and typically has better performance.
To save the changes to the synchronization model, choose File » Save.
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |