Page 1 of 1

Pull related tables down to the mobile file

PostPosted: Wed Apr 04, 2012 8:05 pm
by jemconsulting
The instructions don't really go into how to pull multiple related tables down from the hosted file into the Mobile file. I can get it to bring records from 2 tables but it seem to be putting the 2nd tables records into both tables? Is there more documentation on how to address this?

Re: Pull related tables down to the mobile file

PostPosted: Thu Apr 05, 2012 6:25 am
by John Sindelar
Hi Joshua,

Our documentation for pulling records down is here. Aside from that it, if the two tables coming down are being treated the same by your mobile file, then either

a) the two tables being pulled down have the same object name for the first tab on their packaging layout in GoZyncConnector; (See the section in our docs "Packaging your data / In GoZyncConnector: Layout"

b) or your branch for this second table in the script "Table Branches" in your mobile file is calling the same "...Set Fields" script for both sources. (See the section in our docs "In Mobile: Scripts, Part 2")

c) or your script "Get Records From Server ( RecordType )" in mobile is calling the same script in GoZyncConnector for both record types.

Check those three things and let me know if you see it.

Hope that helps,

John