Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
WebView.RemoveScriptMessageHandler
Removes a script message handler.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WebView | 8.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "WebView.RemoveScriptMessageHandler"; WebViewerRef; Name ) More
Parameters
Parameter | Description | Example |
---|---|---|
WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function. | |
Name | The name of the message handler to remove. | "test" |
Result
Returns OK or error.
Description
Removes a script message handler.Only for FileMaker 16 and newer.
Added iOS for version 9.5.
This can be used to remove the standard message handler from FileMaker.
Examples
Remove message handler for FileMaker 19:
MBS( "WebView.RemoveScriptMessageHandler"; "web"; "fm" )
See also
Release notes
- Version 9.5
- Added Webview.RemoveScriptMessageHandler and Webview.AddScriptMessageHandler for iOS.
Blog Entries
This function checks for a license.
Created 15th December 2017, last changed 4th June 2020