Guide to Updating Plug-ins

|
How automatic downloading works 7
4. The string is searched for the version returned by the YourPlugIn_Version function. If no version
information is returned by YourPlugIn_Version, it is probably because the version on the server is greater
than the version of the plug-in on the client computer.
5. If the option to return the latest plug-in version is enabled, the external function FMSAUC_UpdatePlugIn
places the required plug-in into the current user’s FileMaker Extensions folder as follows:
When starting, FileMaker Pro first loads the plug-ins stored in the current user’s FileMaker Extensions
folder. If a particular plug-in is not found in that folder, FileMaker Pro searches for that plug-in in the
Extensions folder for the FileMaker Pro application.
Notes
1 Ask for plug-in by name and version number, separated by a space. Because spaces are used as function
delimiters, plug-in names and versions cannot contain any embedded spaces.
1 Do not attempt to use the Auto Update function to update itself, or the environment may become unstable
and crash.
When the required plug-in is out of date on the client computer
The client starts FileMaker Pro and attempts to open your database hosted by FileMaker Server. Scripts,
which you have defined in your database, run the external functions for Auto Update in the following order:
1. The external function FMSAUC_Version runs, returning the name and version of the Auto Update plug-
in available on the FileMaker Pro client computer. If plug-in information isn’t returned, it is assumed that
the plug-in is missing from or disabled on the client computer.
2. The external function YourPlugIn_Version runs, returning the name and version of the client computer
plug-in that will be used in the database. If plug-in version information is not returned, it is assumed that
the plug-in is missing or disabled on the client computer.
3. The external function FMSAUC_FindPlugIn runs, searching the server AutoUpdate folder and the server
default database folder for the plug-in versions, and returning a string that lists all available plug-in
versions.
On this operating
system: The plug-in is stored in this folder:
Windows XP C:\Documents and Settings\user_name\Local Settings\Application Data\FileMaker\Extensions\
Windows Vista C:\users\user_name\AppData\Local\FileMaker\Extensions\
Windows 7 C:\users\user_name\AppData\Local\FileMaker\Extensions\
Mac OS X Macintosh HD/Users/user_name/Library/Application Support/FileMaker/Extensions/