Updating To DayBack 10.44

Notes on our latest calendar for FileMaker 13,: DayBack
SeedCode Staff
SeedCode Staff
Posts: 98
Joined: Mon Aug 13, 2012 7:43 am
PostPosted: Fri Dec 14, 2018 1:43 pm
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.44 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 script 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 is the script that needs to be updated this way:

"Substitute Character Disctionary"

Next you will need to make a few changes to the "Load Source Settings at Startup --- Describe Your Sources Here ---" script.
Please copy the 3 script steps shown in the screenshot below from the newly downloaded file and paste them in the same script in your file.

Screen Shot 2018-12-12 at 11.54.06 PM.png
substitution dictionary
Screen Shot 2018-12-12 at 11.54.06 PM.png (154.3 KiB) Viewed 9329 times


Now in your file in the same script (Load Source Settings at Startup) you will need to update all instances where a return character is substituted for a comma. In this case we need to change the substitution to $sc_FieldSeparator. Please locate the three set variable steps as shown in the image below.

Screen Shot 2018-12-14 at 2.00.28 PM.png
load sources steps
Screen Shot 2018-12-14 at 2.00.28 PM.png (118.72 KiB) Viewed 9329 times


Now for each set variable step please edit each substitution in the calculation replacing the comma substitution with $sc_FieldSeparator as shown in the images below.

$$sc_CustomActions
Screen Shot 2018-12-12 at 11.56.20 PM.png
button actions
Screen Shot 2018-12-12 at 11.56.20 PM.png (154.06 KiB) Viewed 9329 times


$$sc_EventActions
Screen Shot 2018-12-12 at 11.57.14 PM.png
event actions
Screen Shot 2018-12-12 at 11.57.14 PM.png (104.96 KiB) Viewed 9329 times


$$sc_AdditionalFields
Screen Shot 2018-12-12 at 11.58.14 PM.png
additional fields
Screen Shot 2018-12-12 at 11.58.14 PM.png (247.8 KiB) Viewed 9329 times


Now repeat that same process for any additional sources defined in the script. By default there are two sources defined. Scroll down to the "----Source No 2---" comment and apply the same changes for that source. Continue repeating the process for any defined sources in the script.

In your file edit the script "Create Edit Delete Event ( SourceNo, Operation ) { Hide, DateStart , DateEnd , TimeStart ... }". Scroll toward the bottom and find "Set Variable" script step for "$sc_AdditionalFieldName" as shown in the image below. Edit the set variable step.

Screen Shot 2018-12-13 at 2.34.35 PM.png
additional fields
Screen Shot 2018-12-13 at 2.34.35 PM.png (125.61 KiB) Viewed 9329 times


Now just as before replace the comma substitution with $sc_FieldSeparator. Make sure to save your changes to the script when done.

Screen Shot 2018-12-13 at 2.33.22 PM.png
substitution
Screen Shot 2018-12-13 at 2.33.22 PM.png (26.89 KiB) Viewed 9329 times


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.44". 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.44.

Return to DayBack Calendar for FileMaker

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron
(855) SEEDCODE
[email protected]
Follow us: