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

Component: JavaScriptWebKit

Run Javascript without Webviewer on Mac/iOS, even on server.

Supported for iOS with MBS Plugin 7.5 or newer and for Windows and Linux since version 13.1.
Our JavaScript functions use DukTape as engine for cross-platform JavaScript, while the JavaScriptWebKit functions use WebKit on macOS/iOS

Version macOS Windows Linux Server iOS SDK
5.4 / 13.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes

Item Details
JavaScript.Available
Checks whether the JavaScriptCore library is loaded.
All
13.1
JavaScript.CF
Calls a global function given the name with FileMaker values.
All
12.2
JavaScript.CallFunction
Calls a global function given the name with FileMaker values.
All
12.2
JavaScript.CheckScriptSyntax
Checks script syntax.
All
5.4
JavaScript.EvaluateScript
Evaluate a string of JavaScript code.
All
5.4
JavaScript.GetProperty
Queries property value as text.
All
5.4
JavaScript.GetPropertyJSON
Queries property value as JSON.
All
12.2
JavaScript.HasProperty
Checks if a property is defined.
All
5.4
JavaScript.List
Lists all IDs of javascript environment objects.
All
13.0
JavaScript.LoadLibrary
Loads the JavaScriptCore library.
All
13.1
JavaScript.New
Creates a new javascript context.
All
5.4
JavaScript.RegisterEvaluateFunction
Registers evaluate function.
All
5.4
JavaScript.RegisterFunction
Registers a javascript function.
All
5.4
JavaScript.RegisterRunScriptFunction
Registers a run script function.
All
5.4
JavaScript.RegisterSQLQueryFunction
Registers a SQLQuery function.
All
5.4
JavaScript.Release
Releases a javascript context.
All
5.4
JavaScript.ReleaseAll
Release all JavaScript environments.
All
10.5
JavaScript.SetProperty
Sets property value.
All
5.4
JavaScript.SetPropertyJSON
Sets property value using JSON.
All
12.2

19 functions shown.

These functions require a license (84%).

Release notes

  • Version 13.1
    • Added support for JavaScriptWebKit functions to work on Windows and Linux if you provide a JavaScriptEngine library file to load.

Blog Entries

FileMaker Magazin