Meet us at at Real World in Orlando, Florida.
All functions
Mac OS X
Windows
Crossplatform
Components
Guides
New in version:
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
WebView.LoadURL
Component: WebView
Version: 2.1
Mac OS X: Works
Windows: Works
MBS( "WebView.LoadURL"; WebViewerRef; URL; cachePolicy; timeoutInterval )
Parameters
| Parameter | Description | Example value |
|---|---|---|
| WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function. | |
| URL | The URL to load. | "http://www.mbsplugins.eu/" |
| 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) | 1 |
| timeoutInterval | Optional, the timeout interval. (Mac only) | 120.0 |
Result
Returns "OK" on success.
Description
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.
Examples
Load website from cache only with 2 minutes timeout:
MBS("WebView.LoadURL"; "web"; "http://www.monkeybreadsoftware.de/"; 3; 120)
Feedback: Report problem or ask question.
Links
MBS REAL studio tutorial videos - JUZ Nickenich