Guide to Updating Plug-ins
Table Of Contents
10 Guide to Updating Plug-ins
External functions
Auto Update consists of the following external functions.
Note These functions are available in FileMaker Pro only if the Auto Update plug-in is installed on your
computer and enabled in the
Plug-ins tab of Preferences.
FMSAUC_Version
Format FMSAUC_Version()
Parameters Constant integer; 0
Data type returned Text
Description This function returns the name and version string from the Auto Update
plug-in located in the FileMaker Pro Extensions folder on the client
computer. If no string is found, FileMaker Pro assumes the Auto Update
plug-in is missing or isn’t enabled on the client computer.
Example FMSAUC_Version(0)
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.
This function Does this
FMSAUC_Version Returns the name and version of the Auto Update plug-in that exists in the
Extensions folder on the client computer. If no version is returned, FileMaker Pro
assumes that the plug-in is missing or isn’t enabled on the client computer.
FMSAUC_FindPlugIn Returns a string listing the plug-in versions located in the AutoUpdate folder or the
default database folder on the server computer. If no string is returned, FileMaker Pro
assumes that the plug-in doesn’t exist on the server computer.
FMSAUC_UpdatePlugIn Downloads a plug-in file from the AutoUpdate folder or solutions folder on the
server computer or returns an error code if the file can’t be downloaded.