Setup GTRR
GoZync4.SetupGTRR History
Hide minor edits - Show changes to output
Added lines 1-6:
!! Overview
The Go To Related Record script step is one of the fastest ways to move between found sets in a FileMaker solution. Unfortunately it is also one of the steps where you can't substitute data for literal FileMaker layouts and table occurrences: you can't "abstract" it.
So in order to use this script step in GoZync you need to add a couple of lines to the existing "Setup Go To Related Records (TOName)" script for each table occurrence you'd like to sync.
The Go To Related Record script step is one of the fastest ways to move between found sets in a FileMaker solution. Unfortunately it is also one of the steps where you can't substitute data for literal FileMaker layouts and table occurrences: you can't "abstract" it.
So in order to use this script step in GoZync you need to add a couple of lines to the existing "Setup Go To Related Records (TOName)" script for each table occurrence you'd like to sync.
Changed lines 3-4 from:
to:
Open GoZyncMobile and edit the script "Setup Go To Related Records (TOName)". You'll see two ElseIF branches for our sample entity "Contacts": one in the "hosted" section, and one in "mobile". Notice how in both cases, the name of the $TOName we're looking for ("gzh_Contact" for example) matches the name of the "from table" in the Go to Related Record step.
You'll want to continue this pattern and add a branch (an ElseIf / Go To Related Record pair) for each of the hosted and mobile tables you're syncing. Do this for both [[glossary | parent]] and child tables.
Note that the layout you use in every case is "$TOName" and that all the TOs referenced in the "Hosted" section should begin "gzh_" and those in the "Mobile" section should begin "gzm_".
You'll want to continue this pattern and add a branch (an ElseIf / Go To Related Record pair) for each of the hosted and mobile tables you're syncing. Do this for both [[glossary | parent]] and child tables.
Note that the layout you use in every case is "$TOName" and that all the TOs referenced in the "Hosted" section should begin "gzh_" and those in the "Mobile" section should begin "gzm_".
Changed lines 1-9 from:
to:
!! Editing the script
How to create branches in the script "Setup Go To Related Records (TOName)" in GoZyncMobile.
!! Check your work (important)
After you've edited this script, please check your work by running the script right below it in GoZyncMobile: " --> Then Run This...Test "Setup Go To Related Records (TOName)" Script".
This will make sure that you have a valid branch for each of the table occurrences you've wired into the graph in GoZyncMobile.
How to create branches in the script "Setup Go To Related Records (TOName)" in GoZyncMobile.
!! Check your work (important)
After you've edited this script, please check your work by running the script right below it in GoZyncMobile: " --> Then Run This...Test "Setup Go To Related Records (TOName)" Script".
This will make sure that you have a valid branch for each of the table occurrences you've wired into the graph in GoZyncMobile.
Changed line 1 from:
to:
How to create branches in the script "Setup Go To Related Records (TOName)" in GoZyncMobile.