Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
WebView.SetInternetExplorerVersion
Sets the Internet Explorer version to use for web viewer.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WebView | 6.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "WebView.SetInternetExplorerVersion"; Version ) More
Parameters
Parameter | Description | Example |
---|---|---|
Version | The version to use. Set to zero to go back to default. |
11000 |
Result
Returns OK or error.
Description
Sets the Internet Explorer version to use for web viewer.By default FileMaker uses IE7 for the web viewer, even if you have version 11 enabled.
Value | Description |
11001 | Internet Explorer 11. Webpages are displayed in IE11 edge mode, regardless of the declared !DOCTYPE directive. Failing to declare a !DOCTYPE directive causes the page to load in Quirks. |
11000 | IE11. Webpages containing standards-based !DOCTYPE directives are displayed in IE11 edge mode. Default value for IE11. |
10001 | Internet Explorer 10. Webpages are displayed in IE10 Standards mode, regardless of the !DOCTYPE directive. |
10000 | Internet Explorer 10. Webpages containing standards-based !DOCTYPE directives are displayed in IE10 Standards mode. Default value for Internet Explorer 10. |
9999 | Windows Internet Explorer 9. Webpages are displayed in IE9 Standards mode, regardless of the declared !DOCTYPE directive. Failing to declare a !DOCTYPE directive causes the page to load in Quirks. |
9000 | Internet Explorer 9. Webpages containing standards-based !DOCTYPE directives are displayed in IE9 mode. Default value for Internet Explorer 9. In Internet Explorer 10, Webpages containing standards-based !DOCTYPE directives are displayed in IE10 Standards mode. |
8888 | Webpages are displayed in IE8 Standards mode, regardless of the declared !DOCTYPE directive. Failing to declare a !DOCTYPE directive causes the page to load in Quirks. |
8000 | Webpages containing standards-based !DOCTYPE directives are displayed in IE8 mode. Default value for Internet Explorer 8. In Internet Explorer 10, Webpages containing standards-based !DOCTYPE directives are displayed in IE10 Standards mode. |
7000 | Webpages containing standards-based !DOCTYPE directives are displayed in IE7 Standards mode. Default value for applications hosting the WebBrowser Control. |
In a test on Windows 10, we get by default this browser version:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; Win64; x64; Trident/7.0; .NET4.0C; .NET4.0E; Tablet PC 2.0; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729)
and with setting it to 11000, we get this:
Mozilla/5.0 (Windows NT 6.2; Win64; x64; Trident/7.0; rv:11.0) like Gecko
You may also use WebView.PostURL to load a website and pass a different User Agent string.
FileMaker 16 defaults to Internet Explorer 11.
See also WebView.SetInternetExplorerHiDPI.
Examples
Set version to IE 11:
Set Variable [ $r; Value: MBS( "Webview.SetInternetExplorerVersion"; 11000 ) ]
See also
- WebView.Evaluate
- WebView.GetInternetExplorerHiDPI
- WebView.GetInternetExplorerVersion
- WebView.PostURL
- WebView.SetInternetExplorerHiDPI
Release notes
- Version 12.2
- Fixed WebView.SetInternetExplorerVersion and WebView.SetInternetExplorerHiDPI to return OK on success instead of the new setting as documented.
Blog Entries
- MBS FileMaker Plugin, version 12.2pr5
- MBS FileMaker Plugin, version 6.4pr9
- Select Internet Explorer version for FileMaker
This function checks for a license.
Created 20th September 2016, last changed 12nd March 2022