In this lesson, you use Sybase Central to prepare your consolidated database for synchronization.
This lesson assumes you have completed all preceding lessons. See Lesson 1: Setting up your MobiLink consolidated database.
Click Start » Programs » SQL Anywhere 16 » Administration Tools » Sybase Central.
Click Tools » MobiLink 16 » New Project.
The Create Project Wizard appears.
In the Name field, type rim_project.
In the Location field, type C:\HelloBlackBerry\database, and then click Next.
In the Database Display Name field, type HelloBlackBerry.
Perform the following tasks on the Connect To A Generic ODBC Database page:
In the User ID field, type DBA.
In the Password field, type sql.
In the ODBC Data Source Name field, click Browse and select HelloBlackBerry.
Click OK, and then click Save.
Select the Remember The Password option, and then click Next.
Ensure that only the Names 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 on all remaining dialogs to end of the wizard.
A synchronization model has been created.
Right-click your new Synchronization model,and select Properties.
In the first text field, type HelloBlackBerrySyncModel, click Apply, and then click Ok.
In the left pane of Sybase Central under MobiLink 16, expand rim_project, Synchronization Models and then HelloBlackBerrySyncModel.
Click File » Deploy.
Under the Specify The Deployment Details For One Or More Of The Following option, ensure that only the Consolidated Database option is selected. Click Next.
Perform the following tasks on the Consolidated Database Deployment Destination page:
Select Save Changes To The Following SQL File and accept the default location for the file.
MobiLink generates a .sql file that makes changes to the consolidated database to set up for synchronization. You can examine the .sql file later and make your own changes. Then, you must run the .sql file manually.
Immediately apply the changes to the consolidated database.
Select Connect To The Consolidated Database To Directly Apply The Changes.
Select the HelloBlackBerry consolidated database from the list.
A prompt appears asking to create the consolidated directory. Click Yes.
On the MobiLink User and Synchronization Profile page, type mluser for the user name and mlpassword for the password, and then click Finish.
Discuss this page in DocCommentXchange.
|Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0|