Guide to Updating Plug-ins
Table Of Contents
|
External functions 13
FMSAUC_ FindPlugIn
Format FMSAUC_FindPlugIn("plug-in-name")
Parameters plug-in-name – the name of the plug-in file. The parameter must be
enclosed in quotes.
Data type returned Text
Description This function returns a string listing the plug-in versions located in the
FileMaker Server AutoUpdate folder or the default database folder. If the plug-
in can’t be found, the function returns –1 (negative
1).
FileMaker Server looks for the plug-in in two places. First, it searches the
AutoUpdate folder located in the same folder that contains the hosted database.
If the file is not found there, it searches for an AutoUpdate folder located in the
FileMaker Server default database folder.
Example The following example shows how to specify the external function
FMSAUC_FindPlugIn within a Set Field script step. The Set Field script step
allows you to return the result of a calculation in a single field. For more
information about script steps and FileMaker Pro functions, see FileMaker
Pro
Help.
Set Field [dbname::Remote_Version;
FMSAUC_FindPlugIn("SamplePlugIn")]
This example returns versions in the following format:
1.0 1.2 1.5 2.0 3.3...