The new FileMaker 16 card windows give you some great options for integrating DayBack Calendar with your other layouts. Here’s a short video with a few examples of what you can do:
Why Card Windows?
Card windows let you see the calendar in the context of decisions you’re making on other layouts. They make it just a little easier to check your schedule. And you’re much less likely to over promise or over extend yourself if you can make your plans with a clear view of your existing commitments. This is why we built DayBack in the first place: to help folks rein in their schedules and defend time for what’s most important.
Another great feature of these card windows is that the layout targeted by a card doesn’t need to be in the file you’re using. So just as you can show a “regular” window from another file, you can show a card window using a layout in another file. This means you can do the (simpler/faster) linked file integration of DayBack, and still have the calendar feel like it’s really part of your main file.
Using FileMaker 16 Card Windows in Your Calendar
The card behaviors shown in the movie above are really easy to add to your file. Here’s how to get started:
1. Download the card window example file here: DayBack_CardWindowExample.fmp12
2. Copy the new folder of scripts: “Card Window Example” and paste it into your copy of DayBack. If you linked DayBack instead of embedding it, you may want to past some of these into your file as well, notably “Launch Calendar As Card” and “New Event for Contact – card window v1 or v2”. These scripts call other scripts in DayBack so you’ll need to repoint them when you paste them into your own (not the calendar) file.
3. In DayBack, edit script “Load Calendar Layout” to add a 0 second pause at line 12: you’ll see an example in the same script in DayBack_CardWindowExample.fmp12
4. Edit the DayBack script “Show Event Details From WebViewer”. Change line 27 to call the new card window version of our “Draw new event window” script. This will use card windows instead of floating windows for events you access using your own layouts. (See the DayBack_CardWindowExample.fmp12 file for an example of this script.)
5. Edit the DayBack script “Create Edit Delete Event…” and add the new lines 36 through 39 used in our example file.
6. Add a new On Layout Exit script trigger to the Calendar layout. Use this trigger to call the script “On Calendar Layout Exit” from the new script folder you pasted in step 2.