


Once turned on, any script step that returns a non-zero error code will be recorded in the log. A single new script step available in FileMaker 18 has made at least the former task much simpler.īy calling Set Error Logging a script can initiate the creation of a ScriptErrors.log file directly in the user’s Documents folder. Never mind the decision tree of possible actions that should be taken in reaction to any given specific error. The downside of such a system is that it is incumbent on the developer to identify those script steps that could be prone to errors and to make sure the custom “Capture Error” scripts are inserted in just the right places in the parent script to accurately log those errors. We at Skeleton Key have our own set of scripts and custom functions that are part of a standard template for any new development project. FileMaker Server has the ability to keep an error log, but devising a system that captures errors in a readily available (and useful) way has traditionally been on the shoulders of the developer. Error LoggingĮrror trapping is a task that sooner or later becomes part of any development project. We’ve put together a nice sample file that demonstrates one possible use case, but before diving into that, let’s cover the new features themselves.

This in combination with a full palette of new data file interaction script steps offers some interesting possibilities for developers in any field. The ability to activate error logging will provide developers and database admins easy access to valuable troubleshooting data that previously existed only via a download from FileMaker Server. With the release of FileMaker 18 comes several new utility script steps.
