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

WebView.Version

Queries WebKit version for web viewer.

Component Version macOS Windows Linux Server iOS SDK
WebView 10.3 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "WebView.Version"; WebViewerRef )   More

Parameters

Parameter Description Example
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.

Result

Returns number or error.

Description

Queries WebKit version for web viewer.
For FileMaker up to version 15, there is only WebKit 1.0 used.
For FileMaker 16 or newer, FileMaker uses WebKit 2.0.
Web viewers made with WebView.Create use WebKit 1.0 or 2.0.

Returns 1 for older WebKit and 2 for newer WebKit.

Examples

Query version for web viewer named "web" on layout:

MBS("Webview.Version"; "web")

See also

Release notes

Blog Entries

This function checks for a license.

Created 5th June 2020, last changed 5th June 2020


WebView.UserScripts - WebView.ZoomPageIn