Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Plugin.PrepareForUpdate

Prepares plugin for an update.

Component Version macOS Windows Linux Server iOS SDK
Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ❌ No

Deprecated

This function was deprecated.

MBS( "Plugin.PrepareForUpdate" )

Parameters

none

Result

Returns OK or error.

Description

Prepares plugin for an update.
MBS Plugin prevents FileMaker from unloading itself to avoid crashes with Cocoa runtime system.
e.g. one plugin loads, registers a class. Then it may get deactivated and unloads. Later a newer plugin in a different version loads, and tries to use the class registered before. Since the first plugin is unload, all pointers are invalid and the application crashes.
This function disables this feature, so a newer plugin may load.

Release notes

Example Databases

Blog Entries

This function is free to use.

Created 16th February 2021, last changed 27th March 2023


Plugin.Path - Plugin.ScriptStepParameter