Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Disables a plugin function.

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

(old name: DisableFunction)


Parameter Description Example value
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

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

Plugin.CallErrorScriptTrigger   -   Plugin.FunctionCount

Feedback: Report problem or ask question.

MBS Xojo blog