WebView.GetURL
--------------

Queries the current document URL in the WebViewer.

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

MBS( "WebView.GetURL"; WebViewerRef ) 

**MBS**( **"WebView.GetURL";** /\* Queries the current document URL in the WebViewer. \*/  
**$WebViewerRef**) /\* Either the Web Viewer Object Name or the Web Viewer ID as returned by "[WebView.FindByName](WebViewFindByName.md)" function.e.g. "web" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "[WebView.FindByName](WebViewFindByName.md)" function. | "web" |

### Result

The URL of the webviewer.

### Description

Queries the current document URL in the WebViewer.  
### Examples

Queries current URL:

 $URL = MBS ( "WebView.GetURL" ; "web" )  
### See also

- [WebView.FindByName](WebViewFindByName.md)
- [WebView.GetForm](WebViewGetForm.md)
- [WebView.GetIcon](WebViewGetIcon.md)
- [WebView.GetLink](WebViewGetLink.md)
- [WebView.GetSourceData](WebViewGetSourceData.md)
- [WebView.GetZoom](WebViewGetZoom.md)
- [WebView.LoadURL](WebViewLoadURL.md)
- [WebView.PostURL](WebViewPostURL.md)

### Example Databases

- [WebViewer/WebViewer GetURL](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/WebViewer/WebViewer%20GetURL.shtml#1GroupButton18.0000000468.000000038.0000000529.0000000LayoutObjectAnchor_)
- [WebViewer/WebViewer MarkDown/WebViewer MarkDown](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/WebViewer/WebViewer%20MarkDown/WebViewer%20MarkDown.shtml#1ScriptAnchor_)
- [WebViewer/WebViewer Save PDF](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/WebViewer/WebViewer%20Save%20PDF.shtml#3ScriptAnchor_)

### Blog Entries

- [MBS Releases the MBS Filemaker plug-in in version 2.2](https://www.mbsplugins.de/archive/2011-01-25/MBS_Releases_the_MBS_Filemaker/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 2.2pr2](https://www.mbsplugins.de/archive/2010-11-06/MBS_Filemaker_Plugin_version_2/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 3/2024, Seite 33 bis 34](https://filemaker-magazin.de/neuigkeit/4263-Appetithappen-FMM_202403)

This function checks for a license.

Created 18th August 2014 , last changed 4th November 2021

  
[WebView.GetTitle](WebViewGetTitle.md) - [WebView.GetUsePrivateBrowsing](WebViewGetUsePrivateBrowsing.md)

[HTML Version](WebViewGetURL.shtml)