GTRR Question
Posted: Tue Oct 22, 2013 4:01 am
Hi Folks,
I'm having some issues in that the mobile file sometimes loses connection after the network check but before pushing/pulling table contents i.e during the pull metadata and settings / check GTRR portions of the scripts.
The Issue is that if connection is lost at this point we get "There was an error with the GTRR setup. Please take another look at the script \"Setup Go To Related Records (TOName)\"." error message. Now i realise that this can be caused and probably is by connecting over 3g / poor connection's ect.
The problem is that when the file is next synced it pull's down every record in every table regardless of whats already on the mobile file. However in our case we are syncing 40 tables and this full resync is 20,000 records. Is there a way of modifying it so that it doesn't have to do this full resync after the GTRR or if it must reset it only has to reset the first table it failed on.
i.e
pull metadata for TO 1 - OK
pull metadata for TO 2 - OK
pull metadata for TO 3 - Failed - error displayed and sync attempt halts
pull metadata for TO 4 - Not Run
Next time a sync is run.
pull metadata for TO 1 - OK
pull metadata for TO 2 - OK
pull metadata for TO 3 - Last run failed so full resync of this table is performed
pull metadata for TO 4 - OK
I'm having some issues in that the mobile file sometimes loses connection after the network check but before pushing/pulling table contents i.e during the pull metadata and settings / check GTRR portions of the scripts.
The Issue is that if connection is lost at this point we get "There was an error with the GTRR setup. Please take another look at the script \"Setup Go To Related Records (TOName)\"." error message. Now i realise that this can be caused and probably is by connecting over 3g / poor connection's ect.
The problem is that when the file is next synced it pull's down every record in every table regardless of whats already on the mobile file. However in our case we are syncing 40 tables and this full resync is 20,000 records. Is there a way of modifying it so that it doesn't have to do this full resync after the GTRR or if it must reset it only has to reset the first table it failed on.
i.e
pull metadata for TO 1 - OK
pull metadata for TO 2 - OK
pull metadata for TO 3 - Failed - error displayed and sync attempt halts
pull metadata for TO 4 - Not Run
Next time a sync is run.
pull metadata for TO 1 - OK
pull metadata for TO 2 - OK
pull metadata for TO 3 - Last run failed so full resync of this table is performed
pull metadata for TO 4 - OK