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


Queries the ID for script with given name.

Component Version macOS Windows Linux Server iOS SDK
FM 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "FM.ScriptIDForScriptName"; ScriptName { ; FileName } )   More


Parameter Description Example Flags
ScriptName The name of the script. "Test"
FileName Available in MBS FileMaker Plugin 7.5 or newer.
The name of the file to look inside.
If empty, we default to current file.

Using a table in another database file may require you adding the other file as an external data source and adding the external table to your relationship graph to grant access.


Returns number or error.


Queries the ID for script with given name.


Query script ID:

MBS("FM.ScriptIDForScriptName"; "Send Campaign")

Release notes

Blog Entries

This function is free to use.

Created 23th March 2015, last changed 20th March 2023

FM.SQL.XMLRecords - FM.ScriptNameForScriptID