Mazkot Posted August 8, 2017 Posted August 8, 2017 Is there a way to automatically run a script if the user ends up downloading a new "version" of the database?
Zach360Works Posted August 8, 2017 Posted August 8, 2017 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now