Server Sync - Recent Updates History Updates in v1.74 (v1.74 is only for Mac, v1.71 will show up in the Windows plugin):
- Container fields now properly sync on the Mac when using server sync. Before even with the extra sync script container fields would not transfer in either direction.
Server Sync - Installation Instructions We have a new simpler method for server sync with FMTouch. The following are the requirements to enable FMTouch Server Sync:
- FMTouch on your iPhone with your database DDR loaded through the regular sync method. Once a DDR is loaded regular sync operations can be done through the server method.
- A FileMaker Server with XML web publishing enabled (FileMaker Server 9 and 10 are the only ones supported now)
- The Server Sync plugin installed within the web publishing engine of FileMaker Server (FMGateway servers have this plugin deployed on all shared servers, dedicated server customers please send an email to the support address to have the plugin installed and enabled for you)
- A sync helper script imported into your database
This syncing method is currently experimental and is only supported using these forums and email. Phone support is not available for getting this setup on your own servers at this time.FMGateway Users: please see the separate simpler instructions at the bottom of this post.Installation InstructionsStep 1. Download and Install the Plugin
- Download the attached zip file (at the bottom of the forum post) and extract it on your computer.
- The plugin will be installed as a
web publishing plugin, this means it WILL NOT appear under the FileMaker Server "Extensions" area
- Within the downloaded zip file locate "FMTouch_WPE_Sync.fmx" or "FMTouch_WPE_Sync.Not allowed on this forum", this is the plugin file for the next step
- Install the plugin into the following locations (you need to create the "Plugins" folder if it is not there):
Windows: C:\Program Files\FileMaker\FileMaker Server\Web Publishing\publishing-engine\wpc\Plugins
Mac: /Library/FileMaker Server/Web Publishing/publishing-engine/wpc/Plugins
- Restart web publishing using your FileMaker Server Admin Console, or restart the whole server
Special Note: If you have a two machine deployment with the web publishing deployed separately from FileMaker Server, the plugin must be installed on the web publishing machine and not the main FileMaker Server machine.Step 2. Import Helper Script (this must be done to each database you intend to sync with)
- Open the Test DB folder in the server sync distribution
- Open ServerSync.fp7
- Open your database
- Choose Scripts->Manage Scripts
- Select the "Import" button
- Find ServerSync.fp7
- Import the "__FMWS_WPE_Sync" script and "__FMWS_FMTouch_Tools_Web_Safe" script
- If you have trouble with this process, please watch
this movie that shows it on a different script
Step 3. (Optional, if you have IWP enabled on your server) Test Plugin Installation
- Upload and open ServerSync.fp7 on your FileMaker Server
- Use IWP to access it (using admin/admin for the username/password)
- Click the "CLICK ME IN IWP TO TEST" using IWP
- If it says "SUCCESS", you're ready to go
Step 4. Use Server Sync in FMTouch
- Make sure your hosted database has a user with a password that has the "fmxml" extended privilege set for him
- Go to "Sync" in FMTouch, choose "Server Sync"
- Enter the address of your web publishing component of FileMaker Server
- Enter a username and password of a user in your database with fmxml privileges
- Click the button to choose a database, choose your database
- Click back into the password field, then click "Done" on the keyboard
- Now click "Connect"
- Sync as usual
Very Important Notes- If you have a copy of FileMaker Pro on the same machine as the server and it has IWP enabled, you might run into problems if you added the new WPE sync plugin to your FileMaker extensions
- The plugin mainly uses port 5555 to communicate with some work done on the XML web publishing port (80 or 443 for SSL), you might need to open this port in your firewall or port forward it.
FMGateway Instructions:FMGateway Step 1. Upload Your Database to FMGateway
- Use the email instructions that came with your account to upload your database to FMGateway
FMGateway Step 2. Import Helper Script (this must be done to each database you intend to sync with)
- Open the Test DB folder in the server sync package
- Open ServerSync.fp7 in the Test DB folder
- Open your database on FMGateway using "Open Remote..." in FileMaker Pro
- Choose Scripts->Manage Scripts
- Select the "Import" button
- Find ServerSync.fp7
- Import the "__FMWS_WPE_Sync" script and "__FMWS_FMTouch_Tools_Web_Safe" script
- If you have trouble with this process, please watch
this movie that shows it on a different script
FMGateway Step 3. Prepare your Database for Server Sync
- Open your database from FMGateway using "Open Remote..."
- Open up the database users, add a new user call it "iphone_user", give it a password (do not leave it blank)
- Assign the Data Entry Only privilege set to the new user
- Go to the Extended Privileges area in the same window, find the "fmxml" privilege in the list, double click it, and choose "Data Entry Only" for this group
- Click OK, your database is now ready for server sync
FMGateway Step 4. Use Server Sync in FMTouch
- Go to "Sync" in FMTouch, choose "Server Sync"
- Enter the address of your FMGateway server, for example 25.fmgateway.com
(do NOT use your subdomain here)- Enter "iphone_user" for the username, and the password you gave the user
- Click the button to choose a database, choose your database
- Click back into the password field, then click "Done" on the keyboard
- Now click "Connect"
- Sync as usual
Best Regards,
Michael Petrov