

If you set it here, it will be used as a default for each function, or you can include the layout when calling the function.įmREST will automatically log in for you as necessary, as each function is called. Note: layout is now optional when setting up your connection. Include the file in your php file by adding the line: Install the class file by putting the file “fmREST.php” at the same location as your custom PHP page, or anywhere in your include path.

This documentation refers to the new version. Please note, a new version of the fmREST class file was uploaded on to support FileMaker 18’s new features. (Update: this is now linked to our GitHub repository for better community participation.) You can download the fmREST class file here.

We know it’s a pain, because we cut our teeth rolling REST functionality into soSIMPLE Calendar. The bottom line is that to use REST as part of your PHP solution, you would usually need to write a series of cURL functions and you would have to manually manage connecting & disconnecting from your server, and saving your tokens. There’s more about that how this impacts PHP developers here. FileMaker Server 17 and 18 now offers REST access to your FileMaker databases.
