GoZync5

Layouts

GoZync5.Layouts History

Show minor edits - Show changes to output

July 09, 2015, at 12:43 PM by 142.4.217.187 -
Changed line 19 from:
Needless to say, the layouts don't need any interface, as only GoZync see these, and they should't have any script triggers on them.
to:
Needless to say, the layouts don't need any interface, as only GoZync see these, and they shouldn't have any script triggers on them. But do make sure the "Save record changes automatically" box on the "Layout Setup" dialog is checked for every sync layout.
June 29, 2013, at 03:15 PM by 50.132.84.245 -
Added lines 5-6:
GoZync will test these layout names when you click "refresh" on the Dashboard tab of GoZyncMobile.
June 29, 2013, at 03:15 PM by 50.132.84.245 -
Added lines 1-6:
!! Layout names

Your sync layouts in GoZyncMobile should have exactly the same name as the table occurrence (TO) the layout is based on. Thus, in our example, the layout gzh_Contact is based on the TO "gzh_Contact".

Of course your actual tables, and the table occurrences in your mobile file can have different names than these TOs in GoZyncMobile.

June 29, 2013, at 02:29 PM by 50.132.84.245 -
Changed lines 29-31 from:
-> If you see this error in GoZyncHosted's Configuration tab, you may have one or two related fields on the layout. Please remove them and create a new sync layout for that table, linking it to GoZyncMobile on its own. See [[Related Records]] for more.
to:
-> If you see this error in GoZyncHosted's Configuration tab, you may have one or two related fields on the layout. Please remove them and create a new sync layout for that table, linking it to GoZyncMobile on its own. See [[Related Records]] for more.

-> You can also get this error if the table occurrence the layout is based on was changed after all the fields were added. Thus the fields aren't from the same table as the layout
.
June 29, 2013, at 02:28 PM by 50.132.84.245 -
Changed lines 25-29 from:
-> If it's not a name issue causing this, then you're running into a bug in FileMaker: sometimes a FileMaker layout can't be read by the FieldNames() function. The fix is to delete the layout and create a new one of the same name. Odd, I know, but this works. And since GoZync looks for layouts by name, making a new one with the correct name is all you have to do.
to:
-> If it's not a name issue causing this, then you're running into a bug in FileMaker: sometimes a FileMaker layout can't be read by the FieldNames() function. The fix is to delete the layout and create a new one of the same name. Odd, I know, but this works. And since GoZync looks for layouts by name, making a new one with the correct name is all you have to do.

'''You have related fields on the layout'''

-> If you see this error in GoZyncHosted's Configuration tab, you may have one or two related fields on the layout. Please remove them and create a new sync layout for that table, linking it to GoZyncMobile on its own. See [[Related Records]] for more
.
June 29, 2013, at 02:26 PM by 50.132.84.245 -
Added lines 15-20:
'''GoZync can't find my layout.'''

-> The most likely cause is that your layout name is slightly different from the table occurrence name in GoZyncMobile's relationships.

-> It could also be that the logged in user doesn't have access to the layout in question. Make sure the access privileges in your mobile file permit users to see the layout and the data it depicts.

June 29, 2013, at 02:23 PM by 50.132.84.245 -
Added lines 11-12:
Needless to say, the layouts don't need any interface, as only GoZync see these, and they should't have any script triggers on them.
June 29, 2013, at 02:22 PM by 50.132.84.245 -
Changed lines 3-6 from:
> > some notes.

See "[[Calc Fields]]" for more info
.
to:
These sync layouts should have just the fields you want to sync on them. That means just your "real data" fields: not globals or summary fields. In most cases you won't want calc fields on the layout, but GoZync can sync can fields if they're headed to a non-calc field on the other side. See "[[Calc Fields]]" for more info.

You should also keep related fields off your layout. You'll use the "requires" column on GoZyncHosted's Configuration tab to teach GoZync which tables are related together as entities. So you don't need to (or want to) include related fields here.

Note that you only need to have the fields ''you're sending from this layout'' present. These are the fields you're "syncing from". Fields that are just receiving data from the other side of the transaction don't need to be here.

You also don't need our gz_... fields on this layout, though it doesn't hurt to have them here: GoZync will skip them rather than try to sync them
.
Changed lines 13-15 from:
There area clearly fields on my layout but "refresh" is telling me there are none?

Sometimes a FileMaker layout can
't be read by the FieldNames() function. The fix is to delete the layout and create a new one of the same name. Odd, I know, but this works.
to:
'''There area clearly fields on my layout but "refresh" is telling me there are none?'''

-> If you have folders with the same names as your sync layouts OR you have more than
one layout of the same name, GoZync will try to use the folder/first layout instead. (Under the hood, folders are just special layouts in FileMaker Pro.) So make sure your layout and folder names are distinct.

-> If it's not a name issue causing this, then you're running into a bug in FileMaker: sometimes a FileMaker layout can't be read by the FieldNames() function. The fix is to delete the layout and create a new one of the same name. Odd, I know, but this works. And since GoZync looks for layouts by name, making a new one with the correct name is all you have to do
.
June 23, 2013, at 07:11 PM by 108.38.141.66 -
Added lines 1-11:
!! What should be on your sync layout

> > some notes.

See "[[Calc Fields]]" for more info.

!! Common Layout Issues

There area clearly fields on my layout but "refresh" is telling me there are none?

Sometimes a FileMaker layout can't be read by the FieldNames() function. The fix is to delete the layout and create a new one of the same name. Odd, I know, but this works.
(855) SEEDCODE
[email protected]
Follow us: