Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides
New in version: 5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2    Statistic  


Loads the given URL into the webviewer.

Component: WebView
Version: 2.1
Mac OS X: Yes
Windows: Yes
Server: No
FileMaker Cloud: No

MBS( "WebView.LoadURL"; WebViewerRef; URL { ; cachePolicy; timeoutInterval } )


Parameter Description Example value
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function. "web"
URL The URL to load. ""
cachePolicy Optional
The cache policy. Can be 0 for default, 1 for ignoring local cache, 2 return cache data else load, 3 to return cache data and don't load. (Mac only)
timeoutInterval Optional
The timeout interval. (Mac only)


Returns "OK" on success.


Loads the given URL into the webviewer.
In FileMaker 10 (or newer) you can only use LoadURL with a webviewer where FileMaker loaded an URL before. This can be "about:blank".
On Mac you can specify optionally the timeout and cache policy.


Load website from cache only with 2 minutes timeout:

MBS("WebView.LoadURL"; "web"; ""; 3; 120)

See also

WebView.LoadJavascriptURL   -   WebView.Passwords.Clear

Feedback: Report problem or ask question.

MBS Realbasic Plugins - Nachhilfe in Eich