Page 1 of 1

Zyncing two different Layouts in one step

PostPosted: Tue Nov 27, 2012 4:16 am
by toschu
Hi all,

i want to zync two different layouts in the same file in one step. Is this possible? I added and integrated both layouts in the GoZyncHosted file.

Best regards,

Torsten

Re: Zyncing two different Layouts in one step

PostPosted: Tue Nov 27, 2012 6:58 am
by John Sindelar
Sure.

If these are the only two sync layouts in the file, just call the script "Zync it - This File" that you imported into your mobile file. That will run the default sync (as specified by you in GoZyncHosted / ZyncOptions) for each sync layout in the file.

If you have more than these two sync layouts and want a button that syncs just these but NOT your other sync layouts, call one of the "Internal API" scripts in GoZyncMobile:

    Push ( List(ToName|RecordID ) )
    Pull ( List(ToName|RecordID ) )
    Round Trip ( List(ToName|RecordID ) )
    Push Then Pull w/o Processing ( List(ToName|RecordID ) )

Each of these will take a return separated list of Table Occurrences to sync. Send the names of the TOs your sync layouts are based on.

Enjoy!

Re: Zyncing two different Layouts in one step

PostPosted: Wed Nov 28, 2012 1:05 am
by toschu
Hi John,

thank you, that sounds easy. But i have noticed that i have 6 TO´s. To much for our MoZync License. Due to that i can´t test it, we have to upgrade to ProZync.

Re: Zyncing two different Layouts in one step

PostPosted: Wed Nov 28, 2012 7:49 am
by John Sindelar
I'll email you an upgrade quote, Torsten.

- John