WebView.Reload
--------------

Reloads the WebViewer.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WebView](component_WebView.md) | [1.4](newinversion14.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |

MBS( "WebView.Reload"; WebViewerRef { ; Force } ) 

**MBS**( **"WebView.Reload";** /\* Reloads the WebViewer. \*/  
**$WebViewerRef**; /\* Either the Web Viewer Object Name or the Web Viewer ID as returned by "[WebView.FindByName](WebViewFindByName.md)" function. \*/   
**$Force**) /\* Optional; Whether to ignore cache and reload from website.   
Default is 0 for normal reloading which may use cached content.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "[WebView.FindByName](WebViewFindByName.md)" function. |  |  |
| Force | Whether to ignore cache and reload from website.    Default is 0 for normal reloading which may use cached content. | 0 | Optional |

### Result

Returns OK on success.

### Description

Reloads the WebViewer.   
Similar to the built in reload script step.  
### Examples

Reload web viewer:

 Set Variable \[ $r ; Value:MBS ( "WebView.Reload"; "web" ) \]  
### See also

- [WebView.FindByName](WebViewFindByName.md)

### Example Databases

- [WebViewer/Reload Test](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/WebViewer/Reload%20Test.shtml#1GroupButton18.0000000732.000000037.0000000835.0000000LayoutObjectAnchor_)

### Blog Entries

- [MBS Filemaker Plugin, version 2.9pr7](https://www.mbsplugins.de/archive/2012-09-11/MBS_Filemaker_Plugin_version_2/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 25th November 2019

  
[WebView.PrintToFile](WebViewPrintToFile.md) - [WebView.RemoveAllUserScripts](WebViewRemoveAllUserScripts.md)

[HTML Version](WebViewReload.shtml)