Updating To DayBack 10.00

Notes on our latest calendar for FileMaker 13,: DayBack
SeedCode Staff
SeedCode Staff
Posts: 98
Joined: Mon Aug 13, 2012 7:43 am
PostPosted: Mon May 22, 2017 1:15 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.00 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.

Normally our updates don't change so many FileMaker Scripts (most don't change any scripts) but this version adds some new features and bug fixes that are specifically related to scripts. We apologize for all these changes, but they're worth it.

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:

"Webviewer Source Options (SourceNumber) "

Then edit the following scripts by changing specific script steps:

Copy the script steps as shown in the image below in the script “Create Edit Delete Event ( SourceNo, Operation ) { Hide, DateStart , DateEnd , TimeStart ... }“ from the new version of DayBack. Paste the script steps into the same script in your file.

Create-Edit-Delete.png
Create-Edit-Delete.png (272.62 KiB) Viewed 10660 times


Copy the script steps as shown in the image below in the script “Load Source Settings at Startup --- Describe Your Sources Here ---“ from the new version of DayBack. Paste the script steps into the same script in your file.

Source-Settings-1.png
Source-Settings-1.png (202.4 KiB) Viewed 10660 times


Repeat this step for any additional sources you might have defined. For example for source number two which is included by default you would paste the same script step as shown below.

Source-Settings-2.png
Source-Settings-2.png (210.16 KiB) Viewed 10660 times


Copy the script steps as shown in the image below in the script “Submit Event From WebViewer“ from the new version of DayBack. Paste the script steps into the same script in your file.

Submit-Event-1.png
Submit-Event-1.png (127.59 KiB) Viewed 10660 times


Then replace the script parameters when calling the "Create Edit Delete Event" script so it matches the new file.

Submit-Event-2.png
Submit-Event-2.png (147.59 KiB) Viewed 10660 times


The script parameters should look just like they do below:

Submit-Event-3.png
Submit-Event-3.png (293.61 KiB) Viewed 10660 times


Replace the "Set Variable [$sc_OptionsResultscript]" script step in the script “Webviewer Settings” as shown below. Copy just this script step from the new version of DayBack and delete just that step in your file and paste the updated version in it's place. You may have edited your version of this step to disable "lazy fetching"if you have, set "// Lazy Fetching" line to false. If you don't know what that is, you likely haven't changed it =)

webviewer-settings.png
webviewer-settings.png (87.71 KiB) Viewed 10660 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.00". 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.00.

Return to DayBack Calendar for FileMaker

Who is online

Users browsing this forum: No registered users and 3 guests

(855) SEEDCODE
[email protected]
Follow us: