If you're using a FileMaker robot, get ready to say good-bye to it: FileMaker Server now has the ability for server-side plugins to be installed and scheduled to run FileMaker scripts or System Level operating system scripts based on your schedule setup.
When we used the FileMaker Server Help Manual, we found Installing FileMaker Server-Side Plugins a bit tricky (we used FileMaker Server 9 Help Manual at the time of this writing).
To get started, you need to install the plug-ins in the FileMaker Server --> Database Server --> Extensions folder just as you would with FileMaker Pro clients. The path on Windows: C:\Program Files\FileMaker\FileMaker Server\Database Server\Extensions
In the FileMaker Server console --> Database Server area, you will find the Server Plug-Ins tab. Make sure you check "Enable FileMaker Server" to use the plug-ins. After you do this, the plug-ins will not automatically appear in the FileMaker Server Console area. You will need to stop and restart the server in order for the plug-ins to appear.
Once the plug-ins appear, enable the plug-ins via the checkbox next to each plug-in.
In the FileMaker Server Schedules, simply click Create a New Schedule. This brings you to the Task Scheduling Assistant, a very easy to use wizard consisting of 8 steps.
Select the task "Run Script", then choose either a ScriptMaker script or System-Level Script. Our example is a ScriptMaker script.
Next, you simply specify the FileMaker file on the server you wish to use and enter in the Account Name and Password you will be using. Alternatively, you may choose to use the Guest Account if it's enabled.
NOTE: You do not need to use plug-ins to use the FileMaker Server scripts. You may wish to automate a report to be sent via email using a FileMaker email plugin for example.
Select the script you wish to run in your schedule and provide a script parameter if desired.
FileMaker Server-side scripts work like Instant Web Publishing scripts where some scripts steps are not compatible (e.g. message boxes). In the Edit Script window you can select Show Compatibility, "Server" to see which steps are not compatible in your scripts.
You can enable email notifications to be sent when the script schedule is processed. Emails will then be sent when errors occur or when the script runs successfully.
A few helpful tips for when your test server-side schedules using plug-ins:
Best wishes to you on your FileMaker Server automation. For those of you who use a FileMaker robot standalone machine, challenge yourself to find a way to integrate your automation with FileMaker Server.
Kevin is CEO and Business Project Manager for DB Services. He also a founding member of the FileMaker Partner Council and certified in FileMaker 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, and 8. Kevin is passionate about FileMaker as a custom application platform and is constantly on a mission to improve how he approaches each assignment.