To update to version 9.49 please download 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.
Update the following scripts in your current DayBack File (Your file if you have done an embedded integration), but don't delete the scripts themselves. Rather, use the "Select All" command to select and delete the entire contents of each script, then copy/paste the updated contents of each script from the new version of DayBack into the corresponding scripts 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 need to be updated this way:
Translate Mode For Web
Translate Mode For Pro Cal
Load Resources
Load Filtered Resources
Resources To CSV
WebViewer Settings
Set Webviewer ({Message})
Show Event Details On Calendar (SourceNo ; FocusDate)
Go To WebViewer Calendar Layout ({Mode})
Load Calendar Layout
We made three small changes to the "Load Calendar Settings - On Startup" script. If you haven't modified this script you are welcome to just copy the contents of the script and paste into your file as you have been doing with the other scripts. If you made changes please add the following lines that are highlighted in the screenshot below. These script steps can be copy and pasted from the new updated file.
We also made a change to the field "DBk_WebViewerSource" field. This field is located in your events table (SampleEvents by default). Please locate this field in your events table and replace the content below the field mappings with the corresponding content from the new updated file. See the highlighted content in the screenshot below for what to copy and replace in your field (everything highlighted and below). You will have to make these changes to this field in all of your event source tables.
Please note that our let statement variables all start with "sc_" now. You can see this in the screenshot. If your's do not start with "sc_" please add that to the beginning of your let variables so it matches what it looks like in the screenshot (this is in the content above the highlighted area in the screenshot). If you don't have the "sc_" prefix you will get a "Field Missing" error when trying to close the calculation dialog. So simply add that prefix and you will be able to save your changes and continue.
Resource Short Names:
We have added the ability to set resource short names in this version of DayBack. We include a list that matches our new resource names and this most likely will not match your list of resource names. Please locate the script "Load Resources" in your file and edit the variable "$$sc_ResourceShortNames" to correspond with your list of resource names or you can set it to null using double quotes if you don't want to use abbreviated names.
You can read more about Resource Short Names and setting up resources in the Resource Documentation For DayBack.
Finishing Up:
Close the new DayBack file you used to copy 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 "9.49". Click "OK" to save those changes.
If you haven't already, close the fresh copy of 9.49 you downloaded, then 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 9.49 is available. Click "Install Update".
Please run the "Upon Opening" script in your file once the update process is complete. This will ensure all of the new settings load properly and the calendar loads with the correct data.
Adding the "None" Column on the Resource Tab
If you like the new default column we added to the Resource tab in this version, here are instructions for adding that to your copy (it's quick, but it's something you have to do in your data, as well as in DayBack's code): adding "none".
That's it, enjoy DayBack 9.49.
Updating To DayBack 9.49
4 posts
• Page 1 of 1
Last edited by tanner on Tue May 12, 2015 7:17 am, edited 6 times in total.
|
|
Posts: 6
Joined: Wed Mar 05, 2014 8:07 am |
You *also* need to update the "Resources" Value List that DayBack uses to match the one referenced in the Load Resources script.
Even the default one that comes with a new copy of DayBack has changed. Failure to do this will result in the error, "There was a problem with the script: "Load Resources". (Drag this dialog wider to read more). The number of resource abbreviations entered in the script doesn't match the number of resources in your Resources value list..." Easily done you might want to update the instructions. |
Thanks for the heads up!
You can also clear the contents of the "$$sc_ResourceShortNames" variable in the "Load Resources" script and DayBack will always use the full resource names and not the short names (a calc has to return something so just use ""). The short names are matched based on position so if my resource value list contained "Some Resource" in line one I would want to put my abbreviation for that resource name in the same line in the "$$sc_ResourceShortNames" var. I have updated the instructions to reflect this so hopefully it is a bit more clear. Thanks, Tanner
|
|
Posts: 142
Joined: Thu Nov 01, 2012 2:36 pm |
I have two Events tables but the Resources are only showing in one of them?
|
4 posts
• Page 1 of 1
Return to DayBack Calendar for FileMaker
Who is online
Users browsing this forum: No registered users and 3 guests