Updating to GoZync 5.09
Posted: Sat Jan 28, 2017 8:14 pm
First, make a reliable backup of your files before making any changes.
Make sure you’re already running GoZync build 5.08. If not, follow the instructions here to get updated to build 5.06.
Then, follow these changes to be made in GoZyncMobile, and your hosted file.
Remember that when this is completed you'll need to distribute a new copy of GoZyncMobile to your users. If it's been a while since you've done that, instructions are easy to follow.
GoZyncMobile
1. Edit the field definition for the field Tableoccurences::LastTimeZync and change this storage of this field to a number.
2. Edit the script "Pull TOs ( List( TONames|RecordID ) )" and find line 23 where the LastTimeZync is set. Change the value set to this: Get(CurrentTimeUTCMilliseconds)
3. Edit the script "Pull Selected TO" and find line 49 where the LastTimeZync is set. Change the value set to this: Get(CurrentTimeUTCMilliseconds)
Your Hosted File
1. In each of the synced tables in your hosted file, you'll be changing the definition of the field gz_ModTimeStamp. Make the following 3 changes to each instance of this field.
1.1. Change the storage of this field to a number.
1.2. Turn off the field's auto-enter of the modification timestamp.
1.3. Add an auto-enter calculated value with the following definition:
Be sure to UNcheck "Do not replace existing value..."
2. Update the "Get IDS Needed For Sync PSOS" script in your hosted file. Don't delete the script itself; instead, find the script in your hosted file, use the "Select All" command to select and delete the entire contents. Then, copy the *contents* from the same script in the new WorxHosted file, and paste it into the corresponding script in your Hosted file.
That's it! Enjoy 5.09
Make sure you’re already running GoZync build 5.08. If not, follow the instructions here to get updated to build 5.06.
Then, follow these changes to be made in GoZyncMobile, and your hosted file.
Remember that when this is completed you'll need to distribute a new copy of GoZyncMobile to your users. If it's been a while since you've done that, instructions are easy to follow.
GoZyncMobile
1. Edit the field definition for the field Tableoccurences::LastTimeZync and change this storage of this field to a number.
2. Edit the script "Pull TOs ( List( TONames|RecordID ) )" and find line 23 where the LastTimeZync is set. Change the value set to this: Get(CurrentTimeUTCMilliseconds)
3. Edit the script "Pull Selected TO" and find line 49 where the LastTimeZync is set. Change the value set to this: Get(CurrentTimeUTCMilliseconds)
Your Hosted File
1. In each of the synced tables in your hosted file, you'll be changing the definition of the field gz_ModTimeStamp. Make the following 3 changes to each instance of this field.
1.1. Change the storage of this field to a number.
1.2. Turn off the field's auto-enter of the modification timestamp.
1.3. Add an auto-enter calculated value with the following definition:
- Code: Select all
Let(
[
x= GetField("")
];
Get(CurrentTimeUTCMilliseconds)
)
Be sure to UNcheck "Do not replace existing value..."
2. Update the "Get IDS Needed For Sync PSOS" script in your hosted file. Don't delete the script itself; instead, find the script in your hosted file, use the "Select All" command to select and delete the entire contents. Then, copy the *contents* from the same script in the new WorxHosted file, and paste it into the corresponding script in your Hosted file.
That's it! Enjoy 5.09