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.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

Plugin.DisableFunction

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)

Parameters

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

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


Plugin.CallErrorScriptTrigger   -   Plugin.FunctionCount

Feedback: Report problem or ask question.




Links
MBS FileMaker blog