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


Disables a plugin function.

Component Version macOS Windows Linux Server iOS SDK
Plugin 2.8 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Plugin.DisableFunction"; name )   More

(old name: DisableFunction)


Parameter Description Example
name A function name like RemoteControl.ClickMouse. "RemoteControl.ClickMouse"


Returns OK on success.


Disables a plugin function.
This can be useful with security when you want to be sure your script does not use certain methods.
The plugin removes the function from the global function list so it can't be called until you restart FileMaker.


Disable a function:

$r = MBS( "Plugin.DisableFunction"; "RemoteControl.ClickMouse" )

See also

This function is free to use.

Created 18th August 2014, last changed 21st October 2017

Plugin.CompileDate - Plugin.FunctionCount