Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples
Videos
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  

WebView.RemoveScriptMessageHandler

Removes a script message handler.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WebView 8.0 Yes No No No Yes
MBS( "WebView.RemoveScriptMessageHandler"; WebViewerRef; Name )   More

Parameters

Parameter Description Example value
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

Blog Entries

Release notes

Created 15th December 2017, last changed 4th June 2020


WebView.RemoveAllUserScripts   -   WebView.RenderImage

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins