From SeedCode Documentation

GoZync4: ExternalDataSources

Do I have to edit any Data Sources in GoZync?

There are only a couple External Data Sources (what we used to call File References) you need to worry about:

In Your Mobile File. You'll want a single reference to GoZyncMobile. This should look like this:

file:GoZyncMobile

In GoZyncMobile. This needs three kinds of data sources. The first is a reference to GoZyncHosted and it will likely have two entries, like this:

file:../Host/GoZyncHosted
fmnet:/YourServer.com/GoZyncHosted

The first of these entries works when the hosted and mobile files are on the same machine: such as when you first download GoZync. The second entry should point to the hosted version of GoZyncHosted on your host or FileMaker Server. This second line, where it says "your server.com" should be the public address of your host or server. This is the address you'd type into FileMaker Go if you wanted to open one of your hosted files directly. If you're having trouble, try opening a hosted file directly on FileMaker Go. If that address works, that's the address to use in place of "your server.com".

The second kind of reference is that GoZyncMobile needs a reference to each of your mobile files that you're Zyncing. These references are created as part of your integration, when you add your table occurrences to the relationship graph in GoZyncMobile and look like:

file:Contacts

The third reference is to your hosted data files and should have two lines just like the reference to GoZyncHosted has: one for when you're working locally, and one for when you're not. The references should look like:

file:../Host/ContactsHosted
fmnet:/YourServer.com/ContactsHosted

In GoZyncHosted. You don't need to change the references in GoZyncHosted unless you change the names of your files (below).

My iPad can't see GoZyncHosted even though we're on the same network

When you're playing wit GoZync inside your office, it can be common for your iPad to fail to find your hosted files the the first try. You may see a message like:

“Error 802 We have an internet connection, but we can’t reach GoZyncHosted.fmp12”

The reason is that you either didn't edit the external data sources in GoZyncMobile because you were working locally, or you entered an address for your server that doesn't work inside the building.

Here are two approaches to find the correct address to use:

If you're hosting with FileMaker Pro instead of server, go to FileMaker and open File / Sharing and select "Share With FileMaker Clients" (the wording is different in different versions of FileMaker). The following screen will tell you the IP address you're hosting under. There may be two so you'll have two to try.
Go to your iPad and try to open the hosted files manually using the "Hosts" tab of FileMaker Go. Enter the IP address you found above, or the IP address of your FileMaker Server. Eventually you'll see your hosted files listed, but you may need to try a few addresses.
Once you can see the hosted files listed for an address, that is the address you'll enter into GoZyncMobile, replacing "yourserver.com" as described at the top of the page.
When GoZyncMobile has the correct external data sources in it, send a new copy to your iPad and you'll be able to sync.

My external data sources were wrong

If you had a problem with your data sources, be sure to quit FileMaker and reopen your files after fixing them. FileMaker can hold on to references to open files.

What if I rename my files?

You'll often need to rename your hosted files before uploading them to shared servers.

The only file you CAN'T rename is GoZyncMobile, but since that file isn't hosted, that's OK.

If you rename GoZycHosted, be sure to update its External Data Sources path in GoZyncMobile to reflect the new file name. If you rename GoZyncLicense, be sure to update its External Data Sources path in GoZycHosted. You'll likely need to rename these two hosted files if they are on a shared server with as commercial hosting provider.

If you rename your own hosted and/or mobile files, be sure to update their External Data Source paths in GoZyncMobile.

Retrieved from http://www.seedcode.com/pmwiki/pmwiki.php?n=GoZync4.ExternalDataSources
Page last modified on February 07, 2014, at 03:40 PM