FileMaker Pro Deployment
Using your Calendar in FileMaker Pro
Once you get the hang of it, using your calendar in FileMaker Pro is pretty straightforward. Here are the pieces you’ll need to know:
- You should have already enabled a user with Extended Privileges and set up your data source.
- Copy the default script into your solution
If you’re using FileMaker Pro Advanced, you can just click the “Copy Scripts” button, then go to the Edit Scripts window in your solution and paste it in.
If you’re using FileMaker Pro, you can import the scripts into your solution from our example file. We recommend importing all three scripts as they rely a little bit on each other. We will post some details here about how those scripts work, and what you can change, but they’re documented within the script already as well. - Copy the web viewer object into your solution
Click the “Copy Web Viewer” button, then create a new layout in your solution and choose Paste from the File menu, while you’re in Layout mode. - Make sure you’ve finished setting up your data source in the Calendar Builder, and especially, chosen the Script to Run as the one you just copied.
Custom Anchors and Parameters
You can edit the contents of the web view with anchor tags and query parameters to filter what shows up in your calendar, and what date and view you start with.
- Anchors- by following your query string with Anchors, you can change the date and view of your calendar:
- #mode=month, #mode=day, #mode=year, etc. – start the calendar in a specific tab
- #date=2011-08-09 – use this date format. Jumps your calendar to a specific date
- string them together like this: #date=2011-08-09,mode=week
- Parameters- by following your URL with a query string, you’re able to further filter your calendar by a specific field
- Use field=request structure. You can use as many field combinations as you want – separate them by an ampersand (&).
- &field1=request1&field2=request2&field3=request3
- &representative=john – limits your display to those records where “john” is in the field called “representative”
- You can create an “or” style filter to find records matching one of several values. You do this by putting square brackets after the field. For example,
- &rep[]=ken&rep[]=lauren – limits your display to those records where field 1 is EITHER ken or lauren.
- You must leave “?calendar=xx” in the url (where xx is the id of the calendar)
- The field you’re filtering on must not include a space or period. You may want to create a calculation field if this is a problem.
- Field names are case-sensitive. Values are not.
- Some words cannot be used as field names, such as “Calendar” and “JS”, which are used internally.
- FileMaker-based navigation
- You can use these features dynamically to create a calendar that you navigate from by changing fields within FileMaker.
- Parameters are always first, then anchors. So a valid url would be:
-
…/soSIMPLE_cal.php?calendar=99&representative=john&client=paradise+partners#date=2011-08-09,mode=day
-
Calendar Documentation
What people are saying
I have four words for it: it blew my mind.
Agnes Riley
ZeroBlue Technology Solutions


