

You should be aware of this when you use a plug-in such as Troi File Plug-in: as long as you are targeting files or folders inside the Server Documents folder you should be OK, but outside of that you are likely to get permission errors. FileMaker Server runs in a non-logged-in state and does not have permissions. When you run a plug-in server-side, it will run in the context of the FileMaker Server application. As this is not allowed, this function won’t work on Server, and will return the error code kErrNotAvailableOnServer. For example Troi File Plug-in contains a function TrFile_SelectFileDialog, which shows a dialog to let a user select a file. Practically this means that plug-ins can’t show dialog boxes, progress bars, flash dialogs etc. This makes sense as FileMaker Server is running without a user anyway. One limitation compared to plug-ins running in a FileMaker Pro client, is that server-side and web-side plug-ins can’t make use of a graphic user interface (GUI). No graphic user interface in FileMaker Server After installation the plug-in will know if it is running on a FileMaker Pro client or if it is running as a server-side or web-side plug-in. NOTE 2 We don’t have a separate Troi Plug-in for server-side or web-side.

NOTE If you want to enable FileMaker Server to make use of both Server-side and web-side plug-ins, you must install two copies of the same plug-in in different locations. If you use Custom Web Publishing XSLT, PHP, or any other web technology can use the functions of the plug-in in FileMaker scripts or field calculations.ĭEFINITION In the following we will call FileMaker plug-ins to be used by the FileMaker Web Publishing Engine a web-side plug-in. This means that you can use Troi Plug-ins in a field calculation or FileMaker script with Instant Web Publishing (IWP) or Custom Web Publishing or WebDirect (in FileMaker Server 13 and later). You can also install plug-ins to be used by the FileMaker Web Publishing Engine. When you run server-side (ScriptMaker) scripts the functions of Troi plug-ins can also be used in these scripts. When plug-ins are used by hosted databases, field calculations can be performed on the computer running FileMaker Server.

You can enable FileMaker Server to use plug-ins with hosted databases and server-side scripts. It is important to understand that plug-ins can be used by FileMaker Server in two type of situations: as a server-side plug-in and as a plug-in used by the web publishing engine. Note that you can use FileMaker Server (Advanced) 10 and later too.

NOTE The information below assumes the use of FileMaker Server 9 or FileMaker Server Advanced 9 (for instant web publishing). This will enable you to make use of the extra functionality plug-ins offer! FileMaker Server supports installing FileMaker plug-ins so they run as part of FileMaker Server. FileMaker Server is the versatile database server of FileMaker Inc.
