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

Component: JavaScript

Run Javascript without Webviewer cross-platform, even on server.

Our JavaScript functions use DukTape as engine for cross-platform JavaScript, while the JavaScriptWebKit functions use WebKit on macOS/iOS (added Windows and Linux in v13.1).

Version macOS Windows Linux Server iOS SDK
10.0 / 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes

Item Details
JS.AddFileMakerEvaluateFunction
Adds an Evaluate function.
All
10.0
JS.AddFileMakerRunScriptFunction
Adds a function to start scripts from JavaScript.
All
10.0
JS.AddFileMakerSQLFunction
Defines a SQL Evaluate function for JavaScript.
All
10.0
JS.AddFunction
Adds a global function defined as a text string.
All
10.0
JS.CF
Calls a global function given the name with FileMaker values.
All
11.3
JS.CallFunction
Calls a global function given the name with JSON data.
All
10.0
JS.CallFunctionValues
Calls a global function given the name with FileMaker values.
All
11.3
JS.Evaluate
Evaluates a JavaScript expression.
All
10.0
JS.EvaluateToString
Evaluates a JavaScript expression.
All
10.0
JS.GetGlobalProperty
Queries global property.
All
10.0
JS.GetGlobalPropertyValue
Queries global property.
All
10.0
JS.InitModules
Installs Duktape module loading.
All
11.2
JS.List
Lists all JavaScript object references.
All
11.3
JS.New
Creates a new JavaScript engine instance.
All
10.0
JS.Now
Queries current time as double value.
All
10.1
JS.ObjectCount
Queries global object counter.
All
10.1
JS.Release
Frees the JavaScript engine.
All
10.0
JS.ReleaseAll
Release all JavaScript environments.
All
10.5
JS.SetGlobalProperty
Sets a global property.
All
10.0
JS.SetGlobalPropertyValue
Sets a global property.
All
10.0
JS.StringCount
Queries global string counter.
All
10.1
JS.TimeToDateComponents
Converts time to date components.
All
10.1
JS.TimeToUTCDate
Converts time value to timestamp.
All
10.1
JS.UTCDateToTime
Converts date to time value.
All
10.1

24 functions shown.

These functions require a license (92%).

Release notes

Blog Entries

FileMaker Magazin

Example Databases