All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 1.0   1.1   1.2   1.3   1.4   1.5   1.6   1.7   1.8   2.0   2.1   2.2   2.3   2.4   2.5   2.6  

WebView.InstallCallback

Component: WebView
Version: 1.3
Mac OS X: Works
Windows: Works

MBS( "WebView.InstallCallback" )

Parameters

none

Description

This function needs to be called one time to enable JavaScript to reach out out from the web viewer to run a FileMaker Script.
One strategy is to call this function on start-up before any WebViewers have been displayed.

To call back from Javascript to filemaker, you assign a string to the window.status property:

window.status="Filename:Scriptname"
or
window.status="Filename:Scriptname:Parameter"

The Parameter part can contain ":". Filename must include file extensions so Filemaker finds the database file.

Examples

Install Callbacks

MBS("WebView.InstallCallback")

Feedback: Report problem or ask question.

Loading



Links
MBS Realbasic tutorial videos - Nachhilfe in Mendig