Once you have created your basic MobiLink synchronization environment with the Replication Wizard, you should complete your environment with the following kinds of supporting actions.
The Replication wizard helps you to create a basic MobiLink synchronization environment whose parameters you can modify from the replication process property sheet.
all tables on the MobiLink tab (see MobiLink Server Properties)
each table individually on the Upload and Download tabs of its property sheet (see MobiLink Article Properties)
You control the synchronization process by writing scripts associated with events. When an event occurs, the MobiLink server executes the corresponding script.
Connection scripts - control high-level events (see Event Scripts (ILM)) that are not associated with a particular table and that perform global tasks required during every synchronization, such as connection and disconnection actions or beginning and ending of upload and download actions. You create these scripts on the Connection Scripts tab of the MobiLink server property sheet.
Table scripts - control events (see Event Scripts (ILM)) associated with the synchronization of a specific table, such as the start or end of uploading rows, resolving conflicts, or selecting rows to download. You create these scripts on the Table Scripts tab of the article property sheet.
When modeling, you can preview the script that will be generated for any object by clicking the Preview tab in its property sheet. Objects that belong to a MobiLink server (such as articles, publications, and subscriptions) have their own Preview tab, which shows the part of the MobiLink server script that is dedicated to them.
MobiLink user names are used for authentication when you connect to the MobiLink server. You must create MobiLink users in remote databases (see MobiLink Database Properties).
You should specify data source connection parameters for the consolidated and remote databases to generate your models and reverse your data sources and for the replication process to communicate with the databases (see Database Property Sheet Database Connection Tab).
Though it is not compulsory to assign each of your databases and Mobilink server to a server (Servers (ILM)), we strongly recommend that you do so, in order to enable the accurate generation of appropriate network addresses in your synchronization scripts and a model check is used to verify that each component is associated with a server.
You can use the Mapping Editor to refine your synchronization definitions in a convenient way or to create new ones between the consolidated and remote databases (see Visualizing and Refining Data Replications with the Mapping Editor).
Database symbols provide various shortcuts to assist you in defining their structures. You can:
Reverse-engineer an existing database – by right-clicking the database and selecting Reverse Engineer Database, to create a new PDM.
Create a consolidated or remote database structure from article or subscription information - by right-clicking the database and selecting Update Type Database to deduce the database structure from the definition of articles in the MobiLink server, in which a subscription must be specified.
Associate the same PDM with the consolidated database and the remote database - if the remote database has the same structure as the consolidated database.