cancel
Showing results for 
Search instead for 
Did you mean: 

Mobilink repliation - different publications

1,685

Hi,

I am upgrading our system to use SQL Anywhere 17 from SQL Anywhere 16. I have an Ultralite database that has 2 publications. One publication is a subset of the tables. For this publication, I defined scripts for just the subset of tables in Mobilink (just like in 16 - actually, I just copied the scripts from 16 to 17).

When I replicate the publication that has just the subset of tables, it fails because Mobilink is looking for download (and other) scripts for the other tables that are not included in the publication.

Before I create the scripts for all the other tables (ml-ignore everything) is there something I'm missing...a switch or option somewhere?

Other info - the app is being upgraded from Windows mobile to WinRT - running on IoT devices.

Thank you,

Paula

Accepted Solutions (0)

Answers (1)

Answers (1)

chris_keating
Product and Topic Expert
Product and Topic Expert

You do not need scripts for tables are not being sync'd as part of the publication. Please note that by default, UL syncs all tables.

Double check your sync parameters to ensure that you are providing a publication name that matches the publication name (defined in UL database).

For example, an UL schema with tables t1,t2, and t3 which has defined a publication as:

create publication p(table t2)

The following sync profile would be used to such only the publication p

MobiLinkUid=u;stream=tcpip;ScriptVersion=v;Publications=p
0 Kudos

Thanks, Chris for the confirmation. I didn't have the Publication defined in the replication string.