Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Component: WebView

Control webviewer.

Fill form fields, run javascript or copy content of webviewer.

Only for local webviewer on macOS, Windows and iOS. Does not work in WebDirect.
Supports FileMaker 8.5 to 19.2 with Internet Explorer and FileMaker 19.4 or newer with Microsoft Edge.

Version macOS Windows Linux Server iOS SDK
1.3 / 15.5 ✅ 86% 🔶 72% ❌ No 🔶 3%, on macOS and Windows 🔶 68%

Item Details Server
WebPolicyDelegate.AddMimeType
Adds a mime type to the action list for the policy decisions.
Mac only
2.7
  ❌ Server
WebPolicyDelegate.Install
Assigns this WebViewer our policy delegate as a filter to the FileMaker built in delegate.
Mac only
2.7
  ❌ Server
WebPolicyDelegate.RemoveMimeType
Removes a mime type to the action list for the policy decisions.
Mac only
2.7
  ❌ Server
WebView.AddScriptMessageHandler
Adds a script message handler.
Mac/iOS
8.0
  ❌ Server
WebView.AddUserScript
Adds a user script.
Mac/iOS
9.5
  ❌ Server
WebView.AllCookies
Returns all website cookies as JSON.
Mac/Win/iOS
8.4
  ❌ Server
WebView.AllowsAnyHTTPSCertificateForHost
Allows a certain host to allow use of any HTTP certificates.
Mac only
6.2
  ❌ Server
WebView.CallFunction
Calls a JavaScript function.
Mac/Win/iOS
10.0
  ❌ Server
WebView.CanResetPageZoom
Whether web page can be reset.
Mac/Win/iOS
4.1
  ❌ Server
WebView.CanZoomPageIn
Whether web page can be zoomed in.
Mac/Win/iOS
4.1
  ❌ Server
WebView.CanZoomPageOut
Whether web page can be zoomed out.
Mac/Win/iOS
4.1
  ❌ Server
WebView.ClearBrowserSession
Ends browser session.
Win only
8.5
  ❌ Server
WebView.ClearPrintParameters
Clears the print parameters.
Mac/Win/iOS
15.1
  ✅ Server
WebView.ClearSelection
Clears selection.
Mac/Win
7.4
  ❌ Server
WebView.ClearVirtualHostNameToFolderMapping
Clears a host name mapping for local folder.
Win only
14.3
  ❌ Server
WebView.ClickInput
Clicks the specified Input Element.
Mac/Win/iOS
1.4
  ❌ Server
WebView.Close
Closes a custom web view.
Mac/Win/iOS
7.4
  ❌ Server
WebView.Cookies.ClearForURL
Deletes all cookies for a given website.
Mac only
5.0
  ❌ Server
WebView.Cookies.Count   Deprecated
Queries number of cookies.
Mac only
5.0
  ❌ Server
WebView.Cookies.Query   Deprecated
Queries a property of a cookie.
Mac only
5.0
  ❌ Server
WebView.Copy
Copies current text selection to clipboard.
Mac/Win/iOS
7.4
  ❌ Server
WebView.CopyFormattedText
Copies formatted text from web view to clipboard.
Mac/Win/iOS
3.1
  ❌ Server
WebView.Create
Creates a new web view inside the window with the given rectangle.
Mac/Win/iOS
7.4
  ❌ Server
WebView.CreateWithControl
Creates a new web view inside the window with the given placeholder control.
Mac/Win/iOS
10.3
  ❌ Server
WebView.Cut
Cuts current text selection.
Mac/Win/iOS
7.4
  ❌ Server
WebView.DisableJavascriptAlerts
Disables alert() command in Javascript.
Mac only
2.5
  ❌ Server
WebView.EstimatedProgress
Returns the estimated progress of the web viewer.
Mac/Win/iOS
1.4
  ❌ Server
WebView.Evaluate
Evaluates a JavaScript expression.
Mac/Win/iOS
10.0
  ❌ Server
WebView.ExecCommand
Executes a command on Windows IE.
Win only
7.3
  ❌ Server
WebView.Favicon
Get the actual image data of the favicon.
Mac/Win/iOS
15.4
  ❌ Server
WebView.FaviconURI
Get the current Uri of the favicon as a string.
Mac/Win/iOS
15.4
  ❌ Server
WebView.FindByName
Returns a unique ID that references a the web viewer.
Mac/Win/iOS
1.3
  ❌ Server
WebView.FindWindowByIndex
Returns the Window Reference for a window specified by the Index parameter.
Mac/Win/iOS
1.3
  ❌ Server
WebView.FindWindowByTitle
Returns the Window Reference for a window specified by the Index parameter.
Mac/Win/iOS
1.3
  ❌ Server
WebView.FormReset
Resets the Specified Form.
Mac/Win/iOS
1.4
  ❌ Server
WebView.FormSubmit
Submits the specified Form
Mac/Win/iOS
1.4
  ❌ Server
WebView.GetAllowsLinkPreview
Whether to allow link previews.
Mac/iOS
9.3
  ❌ Server
WebView.GetAutoResizingMask
Queries auto resizing mask.
Mac/iOS
7.5
  ❌ Server
WebView.GetCustomUserAgent
Queries the current custom user agent string.
Mac/Win/iOS
2.9
  ❌ Server
WebView.GetDrawsBackground
Whether to the WebView draws background.
Mac/iOS
11.5
  ❌ Server
WebView.GetEditable
Queries the editable state.
Mac/Win/iOS
3.0
  ❌ Server
WebView.GetForm
Returns the name of the form with the given index.
Mac/Win/iOS
1.6
  ❌ Server
WebView.GetFormButtonValue
Gets the value of the specified Button.
Mac/Win/iOS
1.4
  ❌ Server
WebView.GetFormCount
Returns the number of forms on the website which is currently visible in the web viewer.
Mac/Win/iOS
1.6
  ❌ Server
WebView.GetFormInputChecked
Returns the value of the specified check box or radiobutton.
Mac/Win/iOS
1.4
  ❌ Server
WebView.GetFormInputValue
Returns the value of the specified Input Form.
Mac/Win/iOS
1.4
  ❌ Server
WebView.GetFormSelectOptions
Queries the possible values of a select element.
Mac/Win/iOS
3.1
  ❌ Server
WebView.GetFormSelectValue
Gets the value of a select element, such as a list or a combo box or a menu.
Mac/Win/iOS
1.4
  ❌ Server
WebView.GetFormTextAreaValue
Returns the value of the specified text area.
Mac/Win/iOS
1.4
  ❌ Server
WebView.GetFormValue
Returns the value from the Specified Field.
Mac/Win/iOS
1.3
  ❌ Server
WebView.GetFormattedText
Queries the current text of the document.
Mac/Win/iOS
5.0
  ❌ Server
WebView.GetHTMLText
Queries the current HTML of the document.
Mac/Win/iOS
2.8
  ❌ Server
WebView.GetHeight   New in 15.5
Queries the height of the WebViewer.
Mac/Win
15.5
  ✅ Server
WebView.GetHidden
Queries a web viewer’s hidden state.
Mac only
7.1
  ❌ Server
WebView.GetIcon   Deprecated
Queries the favorite icon of current webpage.
Mac only
5.0
  ❌ Server
WebView.GetImage
Returns a property of the image with the given index.
Mac/Win/iOS
2.2
  ❌ Server
WebView.GetImageCount
Returns the number of images on the current webpage.
Mac/Win/iOS
2.2
  ❌ Server
WebView.GetInternetExplorerHiDPI
Query whether HiDPI handling is enabled.
Win only
10.2
  ❌ Server
WebView.GetInternetExplorerVersion
Queries the Internet Explorer version to use for Webviewer.
Win only
6.4
  ❌ Server
WebView.GetLinkCount
Returns the number of links on the current webpage.
Mac/Win/iOS
1.8
  ❌ Server
WebView.GetMediaVolume
Queries the maximum volume of all sounds generated on this WebViewer.
Mac only
4.1
  ❌ Server
WebView.GetMemoryUsageTargetLevel
Gets the MemoryUsageTargetLevel property.
Win only
15.4
  ❌ Server
WebView.GetPageSizeMultiplier
Queries the page size multiplier.
Mac/iOS
4.1
  ❌ Server
WebView.GetPlainText
Queries the current text of the document.
Mac/Win/iOS
3.1
  ❌ Server
WebView.GetPreferences
Queries WebView preferences parameters.
Mac/Win/iOS
2.2
  ❌ Server
WebView.GetPrintParameter
Queries print parameters.
Mac/Win
2.1
  ❌ Server
WebView.GetPrivateBrowsing   Deprecated
Queries whether private browsing is enabled.
Mac/iOS
9.5
  ❌ Server
WebView.GetSilent
Queries silent mode for WebViewer.
Win only
6.5
  ❌ Server
WebView.GetSource
Queries the html source from the web viewer.
Mac/Win/iOS
1.5
  ❌ Server
WebView.GetSourceData
Queries the source data from the web viewer.
Mac/iOS
2.1
  ❌ Server
WebView.GetTitle
Returns the current title of the web page that is being displayed by the specified WebViewer.
Mac/Win/iOS
1.4
  ❌ Server
WebView.GetURL
Queries the current document URL in the WebViewer.
Mac/Win/iOS
2.2
  ❌ Server
WebView.GetUsePrivateBrowsing
Queries private browsing flag.
Mac only
11.3
  ❌ Server
WebView.GetWidth   New in 15.5
Queries the width of the WebViewer.
Mac/Win
15.5
  ✅ Server
WebView.GetZoom
Queries the zoom factor.
Mac/Win/iOS
13.1
  ❌ Server
WebView.GoBack
Moves backward a page in the history.
Mac/Win/iOS
2.4
  ❌ Server
WebView.GoForward
Moves forward a page in the history.
Mac/Win/iOS
2.4
  ❌ Server
WebView.HasOnlySecureContent
Queries whether website is secure.
Mac/Win/iOS
9.3
  ❌ Server
WebView.HasParent
Checks whether WebView has parent control.
Mac/Win/iOS
12.1
  ❌ Server
WebView.InstallCallback
Installs JavaScript callback into web viewer.
Mac/Win
1.3
  ❌ Server
WebView.InstallMultiFileOpenDialog
Installs support to the WebViewer for multiple file selections.
Mac only
5.1
  ❌ Server
WebView.InstallUserMediaAccess
Enables user media access.
Mac/iOS
10.2
  ❌ Server
WebView.IsLoading
This function returns True if the Specified web viewer is still loading.
Mac/Win/iOS
1.4
  ❌ Server
WebView.List
Queries the list of WebViews.
Mac/Win/iOS
15.1
  ❌ Server
WebView.LoadHTML
Loads HTML string to WebViewer.
Mac/Win/iOS
3.0
  ❌ Server
WebView.LoadJavascriptURL
Loads the given JavaScript URL into the WebViewer.
Mac/Win/iOS
2.1
  ❌ Server
WebView.LoadURL
Loads the given URL into the WebViewer.
Mac/Win/iOS
2.1
  ❌ Server
WebView.MakeTextLarger
Increases the text size.
Mac/iOS
4.1
  ❌ Server
WebView.MakeTextSmaller
Decreases the text size.
Mac/iOS
4.1
  ❌ Server
WebView.MakeTextStandardSize
Sets text to standard size.
Mac/iOS
4.1
  ❌ Server
WebView.Passwords.Clear
Clears the list of passwords.
Mac only
6.3
  ❌ Server
WebView.Passwords.Install
Installs the plugin functions which watch for password requests on a WebViewer.
Mac only
6.3
  ❌ Server
WebView.Passwords.Set
Stores a password for later.
Mac only
6.3
  ❌ Server
WebView.Paste
Pastes text from clipboard.
Mac/Win/iOS
7.4
  ❌ Server
WebView.PostURL
Navigates to a resource identified by a URL or to a file identified by a full path.
Mac/Win/iOS
10.1
  ❌ Server
WebView.PressKey
Sends a keypress to web viewer.
Win only
6.2
  ❌ Server
WebView.Print
Prints the current web view content.
Mac/Win/iOS
1.8
  ❌ Server
WebView.PrintPreview
Shows the print preview dialog from Internet Explorer.
Win/iOS
2.6
  ❌ Server
WebView.PrintToFile
Prints the current web view content to PDF file.
Mac/Win
4.0
  ❌ Server
WebView.Reload
Reloads the WebViewer.
Mac/Win/iOS
1.4
  ❌ Server
WebView.RemoveAllUserScripts
Removes all associated user scripts.
Mac/iOS
9.5
  ❌ Server
WebView.RemoveScriptMessageHandler
Removes a script message handler.
Mac/iOS
8.0
  ❌ Server
WebView.RenderImage
Renders the WebViewer to a picture.
Mac/Win/iOS
2.1
  ❌ Server
WebView.RenderPDF
Renders the web view to a PDF.
Mac only
3.0
  ❌ Server
WebView.ResetPageZoom
Resets the web page zoom.
Mac/Win/iOS
4.1
  ❌ Server
WebView.RunJavaScript
Executes the Javascript on the specified webViewer control.
Mac/Win/iOS
1.3
  ❌ Server
WebView.RunJavaScriptReturnTitle
Run the specified JavaScript and then returns the value of the title property to FileMaker.
Mac/Win/iOS
1.4
  ❌ Server
WebView.Screenshot
Takes a screenshot of the area used by the WebViewer.
Mac/Win/iOS
3.0
  ❌ Server
WebView.Scrollbar.getHorizontalMaximum
Queries maximum value for horizontal scrollbar.
Mac/iOS
5.0
  ❌ Server
WebView.Scrollbar.getHorizontalPosition
Queries current value for horizontal scrollbar.
Mac/iOS
5.0
  ❌ Server
WebView.Scrollbar.getVerticalMaximum
Queries maximum value for vertical scrollbar.
Mac/iOS
5.0
  ❌ Server
WebView.Scrollbar.getVerticalPosition
Queries current value for vertical scrollbar.
Mac/iOS
5.0
  ❌ Server
WebView.Scrollbar.set
Scrolls to the given coordinates.
Mac/iOS
5.0
  ❌ Server
WebView.SearchText
Searches text in a WebViewer.
Mac/Win
2.3
  ❌ Server
WebView.SelectAll
Selects all text in web viewer.
Mac/Win/iOS
7.4
  ❌ Server
WebView.SelectedText
Queries text of current selection.
Mac/Win/iOS
5.0
  ❌ Server
WebView.SendCommand
Executes a command on Windows IE.
Win only
7.3
  ❌ Server
WebView.SetAllowsLinkPreview
Set whether to allow link previews.
Mac/iOS
9.3
  ❌ Server
WebView.SetAutoResizingMask
Sets the auto resizing mask.
Mac/iOS
7.5
  ❌ Server
WebView.SetCustomUserAgent
Sets the custom user agent text.
Mac/Win
2.9
  ❌ Server
WebView.SetDrawsBackground
Whether to the WebView draws background.
Mac/iOS
11.5
  ❌ Server
WebView.SetEditable
Sets whether the web viewer allows the user to edit its HTML document.
Mac/Win/iOS
3.0
  ❌ Server
WebView.SetFocus
Sets focus to web viewer.
Mac/Win/iOS
9.4
  ❌ Server
WebView.SetFormButtonValue
Sets the value of a Button on the specified form
Mac/Win/iOS
1.4
  ❌ Server
WebView.SetFormInputChecked
Sets the value of the specified Check Box or Radiobutton.
Mac/Win/iOS
1.4
  ❌ Server
WebView.SetFormInputValue
Sets the value of the specified input element
Mac/Win/iOS
1.4
  ❌ Server
WebView.SetFormSelectValue
Sets the value of a select element, such as a list or a combo box or a menu.
Mac/Win/iOS
1.4
  ❌ Server
WebView.SetFormTextAreaValue
Sets the value of a Text Area Element.
Mac/Win/iOS
1.4
  ❌ Server
WebView.SetFormValue
Set the value of the specified Field in a WebViewer.
Mac/Win/iOS
1.3
  ❌ Server
WebView.SetFrameWithControl
Repositions web view to given placeholder control.
Mac/Win/iOS
10.3
  ❌ Server
WebView.SetHeight   New in 15.5
Sets the height of the WebViewer.
Mac/Win
15.5
  ✅ Server
WebView.SetHidden
Sets a web viewer to be invisible.
Mac only
7.1
  ❌ Server
WebView.SetInternetExplorerHiDPI
Sets whether HiDPI handling is enabled.
Win only
10.2
  ❌ Server
WebView.SetInternetExplorerVersion
Sets the Internet Explorer version to use for web viewer.
Win only
6.4
  ❌ Server
WebView.SetMediaVolume
Sets the maximum volume of all sounds generated on this web view.
Mac only
4.1
  ❌ Server
WebView.SetMemoryUsageTargetLevel
Sets MemoryUsageTargetLevel to indicate desired memory consumption level of WebView.
Win only
15.4
  ❌ Server
WebView.SetPageSizeMultiplier
Sets the page size multiplier.
Mac/Win/iOS
4.1
  ❌ Server
WebView.SetPreferences
Sets WebView preferences parameters.
Mac/Win/iOS
2.2
  ❌ Server
WebView.SetPrintParameter
Sets print parameters for Webview.Print method.
Mac/Win/iOS
2.1
  ❌ Server
WebView.SetPrivateBrowsing   Deprecated
Enables private browsing.
Mac/iOS
9.5
  ❌ Server
WebView.SetSilent
Sets silent mode for WebViewer.
Win only
6.5
  ❌ Server
WebView.SetTitle
Sets the title of the web page that is currently being displayed in the web Viewer.
Mac/Win/iOS
1.4
  ❌ Server
WebView.SetUsePrivateBrowsing
Sets private browsing desire.
Mac only
11.3
  ❌ Server
WebView.SetVirtualHostNameToFolderMapping
Add a virtual host mapping.
Win only
14.3
  ❌ Server
WebView.SetWidth   New in 15.5
Sets the width of the WebViewer.
Mac/Win
15.5
  ✅ Server
WebView.SetZoom
Sets the optical scale of the webpage.
Mac/Win/iOS
4.2
  ❌ Server
WebView.ShowDebugBar   Deprecated
Shows the DebugBar for the web viewer on Windows.
Win only
10.3
  ❌ Server
WebView.ShowDevTools
Shows developer tools.
Win only
11.5
  ❌ Server
WebView.StopLoading
Stops loading all resources on the current page.
Mac/Win/iOS
9.3
  ❌ Server
WebView.UserScripts
Queries list of user scripts.
Mac/iOS
9.5
  ❌ Server
WebView.Version
Queries WebKit version for web viewer.
Mac/iOS
10.3
  ❌ Server
WebView.ZoomPageIn
Zooms web page in.
Mac/Win/iOS
4.1
  ❌ Server
WebView.ZoomPageOut
Zooms web page out.
Mac/Win/iOS
4.1
  ❌ Server
Webview.GetDefaultDownloadFolderPath   New in 15.5
Queries the default download folder path.
Win only
15.5
  ❌ Server
Webview.GetPreferredColorScheme   New in 15.5
Queries the preferred color scheme.
Win only
15.5
  ❌ Server
Webview.GetProfilePath   New in 15.5
Queries the full path of the profile directory.
Win only
15.5
  ❌ Server
Webview.SetDefaultDownloadFolderPath   New in 15.5
Sets the default download folder path.
Win only
15.5
  ❌ Server
Webview.SetPreferredColorScheme   New in 15.5
Sets the preferred color scheme.
Win only
15.5
  ❌ Server

159 functions shown.

These functions require a license (82%).

Release notes

Blog Entries

FileMaker Magazin

Example Databases