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: 8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3    Statistic  


Sets script to trigger if plugin call returns an error.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Plugin 8.5 Yes Yes No No Yes
MBS( "Plugin.SetErrorScriptTrigger"; FileName; ScriptName )   More


Parameter Description Example value
FileName The name of the FileMaker File that contains the script. "test.fmp12"
ScriptName The name of the script to run. "MyScript"


Returns OK or error.


Sets script to trigger if plugin call returns an error.
You can call Plugin.CallErrorScriptTrigger to test this.
The script is called with JSON block as parameter and this JSON includes entries for Function, Parameters, Result, UserName, FileName, ScriptName, AccountName, HostName, RecordID, CurrentTimeStamp, LayoutTableName, LayoutName, WindowName and TraceID.

With plugin version 6.0 or newer the script name can be a script ID number. In that case the plugin queries the script name for the given script ID. This allows to call scripts by ID and avoid problems if scripts are later renamed.

See also

Example Databases

Blog Entries

Created 24th October 2018, last changed 24th October 2018

Plugin.Seats   -   Plugin.SetFunctions

Feedback: Report problem or ask question.

MBS FileMaker Plugins