Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Is there a way to automatically run a script if the user ends up downloading a new "version" of the database?

Posted

Hey Mazkot,

Here is the recommended way to do this: In the script that the sync button is linked to - you add a call to the script that you would like to run before any of the script steps already listed. In this script you can check for a field in the MirrorSync table listed as LastClientToken. If this field is empty then it means that it is your clients first sync which could indicate that they need to run your script. Also run a check for the DavabaseVersionNumber in the mirror sync table. If this number is different than what you are already running then they should run your script. 

-Zach

This topic is 2664 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.