Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Plugin.DisableFunction
Disables a plugin function.
| Component | Version | macOS | Windows | Linux | Server | FileMaker 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
Created 18th August 2014, last changed 21st October 2017
Plugin.CompileDate - Plugin.FunctionCount
Feedback: Report problem or ask question.
Links
MBS Xojo blog