“Standalone mode” in soSIMPLE Calendar means that FileMaker Server is notĀ required to use the calendar. You can use Standalone mode whether your solution is standalone on your desktop, you’re sharing it peer-to-peer, or you’reĀ using FileMaker Server. You get other benefits by using Server-Powered mode.
Here’s how Standalone mode works:
- A FileMaker script in your solution calls the script “Setup Calendar Local and Server (calendar_id)” in the soSIMPLE Calendar Settings file. This script:
- Exports all the core html and javascript files required for the calendar to your temporary folder
- Exports all the settings files for your specific calendar
- Runs the Export script in your solution, which you defined in soSIMPLE Calendar Settings
- Returns the url for your calendar, which you can retrieve using “get(scriptresult)”
- Your script then sets your web viewer to the resulting URL
- As you make changes in your calendar, you update your calendar again by running the script “Refresh Calendar Local and Server files (calendar_id)”. This is similar to the setup script, but doesn’t re-export all the files – instead it just:
- Re-runs the Export script in your solution, as defined in soSIMPLE Calendar Settings
- Re-exports a single html reference file
- Returns the url for your calendar. The resulting url includes a random number in the query string to ensure the web viewer does not cache old data.
Double-clicking or dragging in the calendar to edit or create an event will run the “soSIMPLE Action Script” as defined in soSIMPLE Calendar Settings. This script is explained in detail here.