Table Branches

Help, Tips, and Tricks for deploying GoZync: our "sync" engine for FileMaker Go.
Posts: 142
Joined: Thu Nov 01, 2012 2:36 pm
PostPosted: Thu Nov 08, 2012 6:15 pm
Hi,
I have completed the integration except for editing the script in the mobile file called "Zync - Is a new version permitted"

The documentation mentions adding 'Branches' but there are no examples of how to write them, can somebody give me an example as I have lots of layouts to add.

Thanks
Brian.
Posts: 142
Joined: Thu Nov 01, 2012 2:36 pm
PostPosted: Fri Nov 09, 2012 11:24 am
Still stumped by this, searched the forums and Google but can't find any specifics about adding a branch to the blank section, desperately need a clue here...
SeedCode Staff
SeedCode Staff
Posts: 691
Joined: Mon Feb 28, 2011 2:47 pm
PostPosted: Fri Nov 09, 2012 11:44 am
Hi Brian,

This script is for checking if there are un-zynced records in the Mobile file. If there are, then it prevents the file update as the un-zynced record changes will be lost.

We don't have any examples of this as the layouts are specific to each mobile file, but the basic gist is that you repeat the highlighted block here for each table you want to check:

Script.png
Script.png (130.46 KiB) Viewed 4804 times


hth
Posts: 142
Joined: Thu Nov 01, 2012 2:36 pm
PostPosted: Fri Nov 09, 2012 12:02 pm
Thanks Jason, I thought that was what it needed so I tried that earlier. The script saves ok and I Prep and Upload the mobile file to my iPad as usual and then install the latest updates without any issues.

However, when I go to Zync any of the layouts, the following error appears:

Error: -2
Missing the "LayoutName"
Parameter
Script: "Get Fields { FileName }
(LayoutName; LayoutTableName)"


I've tried looking for a "-2" error code but without success, all the integration steps are lit up with a green tick so I'm not sure where to start looking to fix this...

Thanks
Brian.
Posts: 142
Joined: Thu Nov 01, 2012 2:36 pm
PostPosted: Fri Nov 09, 2012 1:12 pm
Could you clarify something for me?
I have 5 Layouts in my mobile file/app but 31 TO's in each of the GoZync relationship windows. Do I need the original 1 Layout plus 5 Branches or 1 plus 30 Branches?

I'm determined to get this up and running tonight...
SeedCode Staff
SeedCode Staff
Posts: 2760
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Fri Nov 09, 2012 1:34 pm
This is a little hard to follow Brian; I'm going to send you an email about purchasing an implementation package so we can coach you through this.

John
John Sindelar
SeedCode
Posts: 142
Joined: Thu Nov 01, 2012 2:36 pm
PostPosted: Fri Nov 09, 2012 1:48 pm
Ok thanks John...
Posts: 142
Joined: Thu Nov 01, 2012 2:36 pm
PostPosted: Sat Nov 10, 2012 2:36 am
Did you send that email out John, nothing received yet.
SeedCode Staff
SeedCode Staff
Posts: 2760
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Sat Nov 10, 2012 6:36 am
I used the wrong email address Brian! Sry: resending. Thanks.
John Sindelar
SeedCode

Return to GoZync

Who is online

Users browsing this forum: No registered users and 3 guests

cron
(855) SEEDCODE
support@seedcode.com
Follow us: