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

Plugin.DisableFunction

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)

Parameters

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

Result

Returns OK on success.

Description

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.

Examples

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

💬 Ask a question or report a problem