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.
Updating To DayBack 10.55
11 posts
• Page 1 of 1
Last edited by tanner on Wed Sep 04, 2019 8:21 am, edited 2 times in total.
|
|
Posts: 6
Joined: Wed Mar 05, 2014 8:07 am |
FYI...
The highlighted lines (41 & 42) in the first screenshot are NOT in the script from the linked copy of DayBack for copying/pasting that you indicated earlier in the post and further down you're missing a screenshot entirely. |
Hi rbparker,
The documents here took a bit of work, so Tanner had posted sort of a draft with *Coming Soon* in the subject line to indicate that the new build hadn't been released yet. We don't often do this, and it sounds like you're getting notifications whenever a new post is made, so you saw the article before customers that go through the docs would. The article has been updated and the link points to the stock copy of 10.55, with all the updated scripts, so you're ready to apply the changes to your copy of DayBack! Sincerely, KC |
|
Posts: 6
Joined: Wed Mar 05, 2014 8:07 am |
Per the first screenshot in the original post, I am not finding a comment line in the linked, current copy of DayBack that starts with "Fiscal Year Starts" as shown on lines 40-41 or anywhere else in the referenced script.
There's also a comment above the highlighted section mentioning weekends and I can't find that one in the linked copy of DayBack either! Help! |
Hi rbparker,
The link to download DayBack that is in our posts always downloads the latest copy of DayBack. Since the post was being drafted when you first found it and clicked on the link, the version of DayBack that was downloaded was build 10.54. This means that it won't have these new script additions for 10.55 in it. I've just verified that the latest build of DayBack contains the lines as shown in the screen-shots, so you'll just need to use the link again to download the latest build and follow the steps to apply the updates: https://www.seedcode.com/?smd_process_d ... d_id=10452 Regards, KC |
|
Posts: 109
Joined: Fri Jul 17, 2009 7:44 am |
Your steps above are asking for "Load Source Settings at Startup --- Describe Your Sources Here ---" but the picture below that is showing a different script (the correct script). Just FYI.
|
Thanks, Jim, you're right!
That might be why rbparker was unable to find the lines in their script. I've updated the referred to script in the post. KC |
|
Posts: 129
Joined: Tue Jul 15, 2008 12:41 am Location: Perth Western Australia |
Hi KC,
All the steps listed under "Improving support for FileMaker 18" are already like this? What am I missing? Thanks Regine |
Regine,
We added the "Left ( " function to the calculation to limit the result to the first two characters of the version number. This was to fix an issue with files where a comma is used as a decimal point returning a 4 digit number. The calculation is already there, but you'll want to update all instances of it to account for this. Regards, KC |
|
Posts: 129
Joined: Tue Jul 15, 2008 12:41 am Location: Perth Western Australia |
Hi KC,
But both script steps and the webviewer are already having the variable set exactly like the description with the Left function. Attached screenshots of the unmodified script and webviewer. So I am wondering if there is anything else that needs to be changed? Thanks Regine
|
Posts: 8
Joined: Wed Oct 09, 2019 7:39 am |
Hi Regine,
It looks like you've already completed all the changes you need in your web viewer and script steps, and you should be up to date for this version of DayBack! Regards, Becca |
11 posts
• Page 1 of 1
Return to DayBack Calendar for FileMaker
Who is online
Users browsing this forum: No registered users and 4 guests