Adding subscriptions

A synchronization subscription links a particular MobiLink user with a publication. You must have at least one publication and one user to create a subscription.

A subscription can also carry other information needed for synchronization. For example, you can specify the address of the MobiLink server and other connection options. Values for a specific subscription override those set for individual MobiLink users.

NoteOverriding options in the wizard You can override the MobiLink server name and port set for the subscription and user with settings in the ASA MobiLink Synchronization wizard in PowerBuilder.

Synchronization subscriptions are required in MobiLink SQL Anywhere remote databases. Server logic is implemented through synchronization scripts, stored in the MobiLink system tables in the consolidated database.

A single SQL Anywhere database can synchronize with more than one MobiLink synchronization server. To allow synchronization with multiple servers, create different subscriptions for each server.

StepsTo add a subscription for a MobiLink user in Sybase Central:

  1. Connect to Sybase Central as described in “Connecting to the database in Sybase Central”.

  2. Open the Publications folder, select the publication for which you want to enter a subscription, select the Synchronization Subscriptions tab in the right pane of Sybase Central, then select File>New>Synchronization Subscription from the menu bar.

    Instead of creating a new subscription in the Publications folder, you can create one in the MobiLink Users folder by double-clicking the user for whom you want to create a subscription, and then selecting File>New>Synchronization Subscription from the menu bar.

  3. In the Create Synchronization Subscription wizard, select the user for whom you want to enter a subscription and click Finish.

    If you started the wizard from the MobiLink Users folder, the wizard prompts you to select the publication to which you want to subscribe. In this case, select the publication and click Finish.

StepsTo modify a subscription in Sybase Central:

  1. Connect to Sybase Central as described in “Connecting to the database in Sybase Central”.

  2. Open the MobiLink Users folder and double-click the name of the MobiLink user who owns the subscription you want to modify.

  3. On the Synchronization Subscriptions tab, right-click the subscription you want to modify and select Properties from the pop-up menu.

  4. Change the properties as needed on the Connection and Extended Options pages of the Synchronization Subscription Properties dialog box.

StepsTo delete a synchronization subscription in Sybase Central:

  1. Connect to Sybase Central as described in “Connecting to the database in Sybase Central”.

  2. Open the MobiLink Users folder and double-click the name of the MobiLink user who owns the subscription you want to delete.

  3. On the Synchronization Subscriptions tab, right-click the subscription you want to delete and click Delete.

  4. Click Yes in the Confirm Delete dialog box.