![]() First you need to copy the Troi Plug-in to the appropriate FileMaker Server Extensions folder. Installing server-side plug-ins is actually quite easy. How to manually install server-side plug-ins You need to open the file with WebDirect first and then click on the “Install This Plug-in” button. You can also install plug-ins for WebDirect with the EasyInstallTroiPlugins.fmp12 example file. Run this script from EasyInstallTroiPlugins: “Install this Troi Plug-in on FileMaker Server 13 or later”. On FileMaker Server create a new schedule to run a script (once). You can now install a plug-in with our EasyInstallTroiPlugins.fmp12 example file. Enable this checkbox:Īllow Install Plug-In File script step to update Server plug-ins You need to enable this in the Admin Console of FileMaker Server: go to Database Server and then to the Server Plug-ins tab. ![]() How to install server-side plug-ins with FileMaker Server 13 and laterįileMaker Server 13 and later can install plug-ins by running a server-side script, with the “Install Plug-in File” script step. This means that a plug-in can not initiate something: for example our Troi Activator Plug-in can not receive messages from other computers. You can download the app here.Ī plug-in running on FileMaker Server 13 or later and WebDirect does not run in the background. We have created a simple dropper app called “Troi Architecture Check” to determine for which architectures a plug-in is compiled. You can not easily see if a macOS plug-in is 64-bit compatible. A universal plug-in is a single plug-in that will run on a 32-bit process as well as on 64-bit process. Plug-ins for macOS can be universal and the extension is always the same: fmplugin. In the download of a 64-bit compatible plug-in you will find this extra copy of the plug-in. On Windows 64-bit plug-ins have a different extension: fm圆4. 64-bit plug-ins are needed for FileMaker Server 13 and laterįileMaker Server 13 and later and WebDirect are 64-bit processes, for which plug-ins need to be compiled for 64-bit. 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.
0 Comments
Leave a Reply. |