Jump to content

Maintaining one database version for both Hosted and Mobile


This topic is 2043 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Sanity Check Please :  )

• “EasySync Settings” and “Sync Check” are in both Mobile and Hosted versions,

    but are quite different.  If I change their names to “EasySync Settings Server”, 

  “EasySync Settings Client”,  “Sync Check Server” and “Sync Check

  Client” I believe that references to those names will change automatically.

•  This would allow both Server and Host Scripts to be maintained in the same

  database version that could then be deployed as Server or Client,

  the Sync button only appearing in the mobile version. ( i.e. if on FMGo show Sync button )

• This is for a deployment where the mobile version has only Push Tables and

  access to the database as a whole requires connecting to the Hosted version.

 ( for remote no-internet-access data collection )

• On first look this approach should work. FMEasySync only sets up

 global variables when the appropriate script is called and that only happens

 as a result of initiating "Sync With Server" on the Mobile device and on the

 server as a "Result of Client Ping" and "Prepare  Payload for Client" and

"Process Payload from Client".

• Not at all certain about this and any thoughts would be most welcome.

Link to post
Share on other sites
  • 2 weeks later...
Yes.” You can combine the server and mobile components into a single database, and script it so that each instance is aware of whether it is serving as a host or client.
 

Evidently this works fine.  Just rename the two scripts in Mobile and Hosts that have the same name to "script name server" and "script name client".

Be sure and do this when after Server scripts are imported but before Mobile scripts are imported, then for the Mobile scripts, to preserve script references correctly in other scripts.

You can also see this done in FileMaker Magazines Tutorial and EasySync Recipe, where the changes are pre-done for you.
Watch the 

Link to post
Share on other sites

This topic is 2043 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.