Updating To DayBack 10.55
Posted: Tue Sep 03, 2019 10:48 am
Please back up your file before making any changes.
If you haven't already, navigate to the "Settings" tab in the calendar sidebar and click "Account Settings". Click "Check For Updates". This button should change to "Install Update" and inform you that version 10.55 is available. Click "Install Update".
To update the necessary scripts, begin by downloading the latest version of DayBack here:
You should follow these instructions if you have done the embedded integration or the linking integration and you don't want to perform the integration all over again.
The Changes
Update the following scripts in your current DayBack File (Your file if you have done an embedded integration), but don't delete the script itself. Rather, use the "Select All" command to select and delete the entire contents of each script, then copy/paste the updated contents of the script from the new version of DayBack into the corresponding script in your DayBack file. You may get an error when opening both files at the same time. This is expected and you can just say "OK" to those errors before continuing. Here are the scripts that needs to be updated this way:
"Set Webviewer ({Message})"
"Show Event Details On Calendar (SourceNo ; FocusDate)"
Next you will need to make a few changes to the "Load Calendar Settings - On Startup --- Edit Configuration Here ---" script.
Please copy the script step shown in the screenshot below from the newly downloaded file and paste them in the same script in your file.
Next you will need to update the script "Webviewer Settings". In the new downloaded file open the script and find the script step as shown below.
Open the set variable $sc_OptionsResult script step as shown in the image and copy the contents of everything in the calculation for the set variable script step. Then in your file replace the contents of that same script step in your file as shown below.
Improving support for FileMaker 18
The "Get Webviewer Calendar FilePath" script contains two Set Variable script steps that need to be updated. Both steps set the $$sc_Webviewer_URL variable and are highlighted in the screenshot below.
In script step #36, double click the Set Variable step to open the "Set Variable" Options window.
Click "Specify..." next to the Value field to open its "Specify Calculation" window.
Find the line in the calculation that begins "sc_appVersion" and replace that line with the content below:
sc_appVersion = Left ( Floor ( GetAsNumber ( Get ( ApplicationVersion ) ) ) ; 2 ) ;
Then repeat the same process for script step #39 and save the script changes when done.
The "Web Address" calculation in the calendar web viewer object also needs to be updated.
In your DayBack file, navigate to your "Calendar" layout (you may have renamed it).
Enter Layout Mode.
Double click the Web Viewer object to open the "Web Viewer Setup" dialog as in the screenshot below
Click "Specify..." next to the Web Address field to open its Specify Calculation window.
Find the line in the calculation that begins "sc_appVersion" and replace that line with the content below:
sc_appVersion = Left ( Floor ( GetAsNumber ( Get ( ApplicationVersion ) ) ) ; 2 ) ;
Finishing Up:
Close the new DayBack file you used to copy the script contents from.
Change the build number recorded in the database. Navigate to "File -> Manage -> Database" then go to the "CalendarInterface" table. Change the "BuildNumberCalc" calculation to read "10.55". Click "OK" to save those changes.
Then please run the "Upon Opening" script in your file. This will ensure all of the new settings load properly and the calendar loads with the correct data.
That's it, enjoy DayBack 10.55.
If you haven't already, navigate to the "Settings" tab in the calendar sidebar and click "Account Settings". Click "Check For Updates". This button should change to "Install Update" and inform you that version 10.55 is available. Click "Install Update".
To update the necessary scripts, begin by downloading the latest version of DayBack here:
You should follow these instructions if you have done the embedded integration or the linking integration and you don't want to perform the integration all over again.
The Changes
Update the following scripts in your current DayBack File (Your file if you have done an embedded integration), but don't delete the script itself. Rather, use the "Select All" command to select and delete the entire contents of each script, then copy/paste the updated contents of the script from the new version of DayBack into the corresponding script in your DayBack file. You may get an error when opening both files at the same time. This is expected and you can just say "OK" to those errors before continuing. Here are the scripts that needs to be updated this way:
"Set Webviewer ({Message})"
"Show Event Details On Calendar (SourceNo ; FocusDate)"
Next you will need to make a few changes to the "Load Calendar Settings - On Startup --- Edit Configuration Here ---" script.
Please copy the script step shown in the screenshot below from the newly downloaded file and paste them in the same script in your file.
Next you will need to update the script "Webviewer Settings". In the new downloaded file open the script and find the script step as shown below.
Open the set variable $sc_OptionsResult script step as shown in the image and copy the contents of everything in the calculation for the set variable script step. Then in your file replace the contents of that same script step in your file as shown below.
Improving support for FileMaker 18
The "Get Webviewer Calendar FilePath" script contains two Set Variable script steps that need to be updated. Both steps set the $$sc_Webviewer_URL variable and are highlighted in the screenshot below.
In script step #36, double click the Set Variable step to open the "Set Variable" Options window.
Click "Specify..." next to the Value field to open its "Specify Calculation" window.
Find the line in the calculation that begins "sc_appVersion" and replace that line with the content below:
sc_appVersion = Left ( Floor ( GetAsNumber ( Get ( ApplicationVersion ) ) ) ; 2 ) ;
Then repeat the same process for script step #39 and save the script changes when done.
The "Web Address" calculation in the calendar web viewer object also needs to be updated.
In your DayBack file, navigate to your "Calendar" layout (you may have renamed it).
Enter Layout Mode.
Double click the Web Viewer object to open the "Web Viewer Setup" dialog as in the screenshot below
Click "Specify..." next to the Web Address field to open its Specify Calculation window.
Find the line in the calculation that begins "sc_appVersion" and replace that line with the content below:
sc_appVersion = Left ( Floor ( GetAsNumber ( Get ( ApplicationVersion ) ) ) ; 2 ) ;
Finishing Up:
Close the new DayBack file you used to copy the script contents from.
Change the build number recorded in the database. Navigate to "File -> Manage -> Database" then go to the "CalendarInterface" table. Change the "BuildNumberCalc" calculation to read "10.55". Click "OK" to save those changes.
Then please run the "Upon Opening" script in your file. This will ensure all of the new settings load properly and the calendar loads with the correct data.
That's it, enjoy DayBack 10.55.