Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Component: WebView
Control webviewer.
Fill form fields, run javascript or copy content of webviewer.
Only for local webviewer on Mac, Windows and iOS. Does not work in WebDirect.
Item | Details |
---|---|
WebDownloadDelegate.Cancel Cancels download. | Mac only 2.7 |
WebDownloadDelegate.ClearBeginDownloadHandler Clears the script called for beginning downloads. | Mac only 2.7 |
WebDownloadDelegate.ClearDidDownloadHandler Clears the script called for finished downloads. | Mac only 2.7 |
WebDownloadDelegate.ClearFailHandler Clears the script called for failed downloads. | Mac only 2.7 |
WebDownloadDelegate.ClearFolder Clears the download folder. | Mac only 2.8 |
WebDownloadDelegate.ClearProgressHandler Clears the script called for download progress. | Mac only 2.7 |
WebDownloadDelegate.DownloadedLength Number of bytes downloaded so far. | Mac only 2.7 |
WebDownloadDelegate.ErrorMessage The last error message from download. | Mac only 2.7 |
WebDownloadDelegate.GetFolder Queries current defined download folder. | Mac only 2.8 |
WebDownloadDelegate.Install Assigns this web viewer our download delegate. | Mac only 2.7 |
WebDownloadDelegate.MIMEType Returns the MIME type. | Mac only 2.7 |
WebDownloadDelegate.Path The file path of the downloaded file. | Mac only 2.7 |
WebDownloadDelegate.SetBeginDownloadHandler Sets the script called when a download is about to begin. | Mac only 2.7 |
WebDownloadDelegate.SetDidDownloadHandler Sets the script called when a download finished. | Mac only 2.7 |
WebDownloadDelegate.SetFailHandler Sets the script called when a download failed. | Mac only 2.7 |
WebDownloadDelegate.SetFolder Sets the download folder. | Mac only 2.8 |
WebDownloadDelegate.SetProgressHandler Sets the script called when a download made progress. | Mac only 2.7 |
WebDownloadDelegate.URL Queries current URL. | Mac only 2.7 |
WebDownloadDelegate.expectedContentLength Returns the expected content length. | Mac only 2.7 |
WebDownloadDelegate.suggestedFilename Returns a suggested filename. | Mac only 2.7 |
WebDownloadDelegate.textEncodingName Returns the name of the receiver's text encoding provided by the response's originating source. | Mac only 2.7 |
WebPolicyDelegate.AddMimeType Adds a mime type to the action list for the policy decisions. | Mac only 2.7 |
WebPolicyDelegate.Install Assigns this webviewer our policy delegate as a filter to the FileMaker built in delegate. | Mac only 2.7 |
WebPolicyDelegate.RemoveMimeType Removes a mime type to the action list for the policy decisions. | Mac only 2.7 |
WebView.AddScriptMessageHandler Adds a script message handler. | Mac/iOS 8.0 |
WebView.AddUserScript Adds a user script. | Mac/iOS 9.5 |
WebView.AllCookies Returns all website cookies as JSON. | Mac/iOS 8.4 |
WebView.AllowsAnyHTTPSCertificateForHost Allows a certain host to allow use of any HTTP certificates. | Mac only 6.2 |
WebView.CallFunction Calls a JavaScript function. | Win only 10.0 |
WebView.CanResetPageZoom Whether web page can be reset. | Mac/iOS 4.1 |
WebView.CanZoomPageIn Whether web page can be zoomed in. | Mac/iOS 4.1 |
WebView.CanZoomPageOut Whether web page can be zoomed out. | Mac/iOS 4.1 |
WebView.ClearBrowserSession Ends browser session. | Win only 8.5 |
WebView.ClearSelection Clears selection. | Mac/Win 7.4 |
WebView.ClickInput Clicks the specified Input Element. | Mac/Win/iOS 1.4 |
WebView.Close Closes a custom web view. | Mac/iOS 7.4 |
WebView.Cookies.ClearForURL Deletes all cookies for a given website. | Mac only 5.0 |
WebView.Cookies.Count Queries number of cookies. | Mac only 5.0 |
WebView.Cookies.Query Queries a property of a cookie. | Mac only 5.0 |
WebView.Copy Copies current text selection to clipboard. | Mac/Win/iOS 7.4 |
WebView.CopyFormattedText Copies formatted text from web view to clipboard. | Mac/Win/iOS 3.1 |
WebView.Create Creates a new web view inside the window with the given rectangle. | Mac/iOS 7.4 |
WebView.CreateWithControl Creates a new web view inside the window with the given placeholder control. | Mac/Win/iOS 10.3 |
WebView.Cut Cuts current text selection. | Mac/Win/iOS 7.4 |
WebView.DisableJavascriptAlerts Disables alert() command in Javascript. | Mac only 2.5 |
WebView.EstimatedProgress Returns the estimated progress of the web viewer. | Mac/Win/iOS 1.4 |
WebView.Evaluate Evaluates a JavaScript expression. | Mac/Win/iOS 10.0 |
WebView.ExecCommand Executes a command on Windows IE. | Win only 7.3 |
WebView.FindByName Returns a unique ID that references a the web viewer. | Mac/Win/iOS 1.3 |
WebView.FindWindowByIndex Returns the Window Reference for a window specified by the Index parameter. | Mac/Win/iOS 1.3 |
WebView.FindWindowByTitle Returns the Window Reference for a window specified by the Index parameter. | Mac/Win/iOS 1.3 |
WebView.FormReset Resets the Specified Form. | Mac/Win/iOS 1.4 |
WebView.FormSubmit Submits the specified Form | Mac/Win/iOS 1.4 |
WebView.GetAllowsLinkPreview Whether to allow link previews. | Mac/iOS 9.3 |
WebView.GetAutoResizingMask Queries auto resizing mask. | Mac/iOS 7.5 |
WebView.GetCustomUserAgent Queries the current custom user agent string. | Mac/iOS 2.9 |
WebView.GetEditable Queries the editable state. | Mac/Win/iOS 3.0 |
WebView.GetForm Returns the name of the form with the given index. | Mac/Win/iOS 1.6 |
WebView.GetFormButtonValue Gets the value of the specified Button. | Mac/Win/iOS 1.4 |
WebView.GetFormCount Returns the number of forms on the website which is currently visible in the webviewer. | Mac/Win/iOS 1.6 |
WebView.GetFormInputChecked Returns the value of the specified check box or radiobutton. | Mac/Win/iOS 1.4 |
WebView.GetFormInputValue Returns the value of the specified Input Form. | Mac/Win/iOS 1.4 |
WebView.GetFormSelectOptions Queries the possible values of a select element. | Mac/Win/iOS 3.1 |
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 |
WebView.GetFormTextAreaValue Returns the value of the specified text area. | Mac/Win/iOS 1.4 |
WebView.GetFormValue Returns the value from the Specified Field. | Mac/Win/iOS 1.3 |
WebView.GetFormattedText Queries the current text of the document. | Mac/iOS 5.0 |
WebView.GetHTMLText Queries the current HTML of the document. | Mac/Win/iOS 2.8 |
WebView.GetHidden Queries a web viewer’s hidden state. | Mac only 7.1 |
WebView.GetIcon Queries the favorite icon of current webpage. | Mac only 5.0 |
WebView.GetImage Returns a property of the image with the given index. | Mac/Win/iOS 2.2 |
WebView.GetImageCount Returns the number of images on the current webpage. | Mac/Win/iOS 2.2 |
WebView.GetInternetExplorerHiDPI Query whether HiDPI handling is enabled. | Win only 10.2 |
WebView.GetInternetExplorerVersion Queries the Internet Explorer version to use for Webviewer. | Win only 6.4 |
WebView.GetLink Returns a property of the link with the given index. | Mac/Win/iOS 1.8 |
WebView.GetLinkCount Returns the number of links on the current webpage. | Mac/Win/iOS 1.8 |
WebView.GetMediaVolume Queries the maximum volume of all sounds generated on this webview. | Mac only 4.1 |
WebView.GetPageSizeMultiplier Queries the page size multiplier. | Mac/iOS 4.1 |
WebView.GetPlainText Queries the current text of the document. | Mac/Win/iOS 3.1 |
WebView.GetPreferences Queries WebView preferences parameters. | Mac/iOS 2.2 |
WebView.GetPrintParameter Queries print parameters | Mac only 2.1 |
WebView.GetPrivateBrowsing Queries whether private browsing is enabled. | Mac/iOS 9.5 |
WebView.GetSilent Queries silent mode for webviewer. | Win only 6.5 |
WebView.GetSource Queries the html source from the web viewer. | Mac/Win/iOS 1.5 |
WebView.GetSourceData Queries the source data from the web viewer. | Mac/iOS 2.1 |
WebView.GetTitle Returns the current title of the web page that is being displayed by the specified WebViewer | Mac/Win/iOS 1.4 |
WebView.GetURL Queries the current document URL in the webviewer. | Mac/Win/iOS 2.2 |
WebView.GoBack Moves backward a page in the history. | Mac/Win/iOS 2.4 |
WebView.GoForward Moves forward a page in the history. | Mac/Win/iOS 2.4 |
WebView.HasOnlySecureContent Queries whether website is secure. | Mac/Win/iOS 9.3 |
WebView.InstallCallback Installs JavaScript callback into web viewer. | Mac/Win 1.3 |
WebView.InstallMultiFileOpenDialog Installs support to the WebViewer for multiple file selections. | Mac only 5.1 |
WebView.InstallUserMediaAccess Enables user media access. | Mac/iOS 10.2 |
WebView.IsLoading This function returns True if the Specified web viewer is still loading. | Mac/Win/iOS 1.4 |
WebView.LoadHTML Loads HTML string to webviewer. | Mac/Win/iOS 3.0 |
WebView.LoadJavascriptURL Loads the given javscript URL into the webviewer. | Mac/Win/iOS 2.1 |
WebView.LoadURL Loads the given URL into the webviewer. | Mac/Win/iOS 2.1 |
WebView.MakeTextLarger Increases the text size. | Mac/iOS 4.1 |
WebView.MakeTextSmaller Decreases the text size. | Mac/iOS 4.1 |
WebView.MakeTextStandardSize Sets text to standard size. | Mac/iOS 4.1 |
WebView.Passwords.Clear Clears the list of passwords. | Mac only 6.3 |
WebView.Passwords.Install Installs the plugin functions which watch for password requests on a webviewer. | Mac only 6.3 |
WebView.Passwords.Set Stores a password for later. | Mac only 6.3 |
WebView.Paste Pastes text from clipboard. | Mac/Win/iOS 7.4 |
WebView.PostURL Navigates to a resource identified by a URL or to a file identified by a full path. | Mac/Win/iOS 10.1 |
WebView.PressKey Sends a keypress to web viewer. | Win only 6.2 |
WebView.Print Prints the current web view content. | Mac/Win 1.8 |
WebView.PrintPreview Shows the print preview dialog from Internet Explorer. | Win/iOS 2.6 |
WebView.PrintToFile Prints the current web view content to PDF file. | Mac only 4.0 |
WebView.Release Releases a web viewer iD. | Mac/Win/iOS 1.4 |
WebView.Reload Reloads the WebViewer. | Mac/Win/iOS 1.4 |
WebView.RemoveAllUserScripts Removes all associated user scripts. | Mac/iOS 9.5 |
WebView.RemoveScriptMessageHandler Removes a script message handler. | Mac/iOS 8.0 |
WebView.RenderImage Renders the webview to a picture. | Mac/Win/iOS 2.1 |
WebView.RenderPDF Renders the web view to a PDF. | Mac only 3.0 |
WebView.ResetPageZoom Resets the web page zoom. | Mac/iOS 4.1 |
WebView.RunJavaScript Executes the Javascript on the specified webViewer control. | Mac/Win/iOS 1.3 |
WebView.RunJavaScriptReturnTitle Run the specified JavaScript and then returns the value of the title property to FileMaker. | Mac/Win/iOS 1.4 |
WebView.Screenshot Takes a screenshot of the area used by the webviewer. | Mac/Win/iOS 3.0 |
WebView.Scrollbar.getHorizontalMaximum Queries maximum value for horizontal scrollbar. | Mac/iOS 5.0 |
WebView.Scrollbar.getHorizontalPosition Queries current value for horizontal scrollbar. | Mac/iOS 5.0 |
WebView.Scrollbar.getVerticalMaximum Queries maximum value for vertical scrollbar. | Mac/iOS 5.0 |
WebView.Scrollbar.getVerticalPosition Queries current value for vertical scrollbar. | Mac/iOS 5.0 |
WebView.Scrollbar.set Scrolls to the given coordinates. | Mac/iOS 5.0 |
WebView.SearchText Searches text in a webviewer. | Mac/Win 2.3 |
WebView.SelectAll Selects all text in web viewer. | Mac/Win/iOS 7.4 |
WebView.SelectedText Queries text of current selection. | Mac/Win/iOS 5.0 |
WebView.SendCommand Executes a command on Windows IE. | Win only 7.3 |
WebView.SetAllowsLinkPreview Set whether to allow link previews. | Mac/iOS 9.3 |
WebView.SetAutoResizingMask Sets the auto resizing mask. | Mac/iOS 7.5 |
WebView.SetCustomUserAgent Sets the custom user agent text. | Mac only 2.9 |
WebView.SetEditable Sets whether the web viewer allows the user to edit its HTML document. | Mac/Win/iOS 3.0 |
WebView.SetFocus Sets focus to web viewer. | Mac/Win/iOS 9.4 |
WebView.SetFormButtonValue Sets the value of a Button on the specified form | Mac/Win/iOS 1.4 |
WebView.SetFormInputChecked Sets the value of the specified Check Box or Radiobutton. | Mac/Win/iOS 1.4 |
WebView.SetFormInputValue Sets the value of the specified input element | Mac/Win/iOS 1.4 |
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 |
WebView.SetFormTextAreaValue Sets the value of a Text Area Element. | Mac/Win/iOS 1.4 |
WebView.SetFormValue Set the value of the specified Field in a webviewer. | Mac/Win/iOS 1.3 |
WebView.SetFrameWithControl Repositions web view to given control. | Mac/Win/iOS 10.3 |
WebView.SetHidden Sets a web viewer to be invisible. | Mac only 7.1 |
WebView.SetInternetExplorerHiDPI Sets whether HiDPI handling is enabled. | Win only 10.2 |
WebView.SetInternetExplorerVersion Sets the Internet Explorer version to use for web viewer. | Win only 6.4 |
WebView.SetMediaVolume Sets the maximum volume of all sounds generated on this web view. | Mac only 4.1 |
WebView.SetPageSizeMultiplier Sets the page size multiplier. | Mac/iOS 4.1 |
WebView.SetPreferences Sets WebView preferences parameters. | Mac/iOS 2.2 |
WebView.SetPrintParameter Sets print parameters for Webview.Print method. | Mac/iOS 2.1 |
WebView.SetPrivateBrowsing Enables private browsing. | Mac/iOS 9.5 |
WebView.SetSilent Sets silent mode for webviewer. | Win only 6.5 |
WebView.SetTitle Sets the title of the web page that is currently being displayed in the web Viewer. | Mac/Win/iOS 1.4 |
WebView.ShowDebugBar Shows the DebugBar for the web viewer on Windows. | Win only 10.3 |
WebView.StopLoading Stops loading all resources on the current page. | Mac/Win/iOS 9.3 |
WebView.UserScripts Queries list of user scripts. | Mac/iOS 9.5 |
WebView.Version Queries WebKit version for web viewer. | Mac/iOS 10.3 |
WebView.ZoomPageIn Zooms web page in. | Mac/iOS 4.1 |
WebView.ZoomPageOut Zooms web page out. | Mac/iOS 4.1 |
WebView.setZoom Sets the optical scale of the webpage. | Win only 4.2 |
157 functions.
Release notes
- Version 11.1
- Added Windows support for WebView.StopLoading function.
- Version 10.5
- Added 60 second timeout to WebView.Evaluate for macOS to avoid endless loops.
- Fixed a deadlock with WebView.Evaluate waiting endless for JavaScript answer and newer macOS versions.
- Fixed memory leaks in WebView.Create on Windows and WebView functions.
- Fixed problem with WebView.Create creating two web viewers with parameter zero.
- Implemented WebView.RenderPDF for WebKit 2 for macOS with Safari 14 or newer.
- Version 10.3
- Added Windows support for WebView.Create using IE engine.
- Added iOS support for WebView.SetPrintParameter and WebView.GetPrintParameter. Currently only supporting JobName and Orientation as settings.
- Added version parameter for WebView.Create to pick WebKit 2 and added iOS support.
- Added webSecurityEnabled and CrossOriginResourcePolicyEnabled keys for WebView.SetPreferences function.
- Added WebView.CreateWithControl and WebView.SetFrameWithControl functions.
- Added WebView.ShowDebugBar function to show DebugBar for IE 11.
- Added WebView.Version function.
- Deprecated DragDrop.CreateOnPopoverWithControl, DragDrop.CreateOnPopoverWithSize, TextView.CreateOnPopoverWithControl, TextView.CreateOnPopoverWithSize and WebView.CreateOnPopover functions.
- Rewrote control placement for MacOS and iOS controls for AVPlayer.AddView, DragDrop.CreateWithControl, ImageView.CreateWithControl, MapView.CreateWithControl, TextView.CreateWithControl, WebView.CreateWithControl.
- Rewrote control placement for MacOS and iOS controls for AVPlayer.SetFrameWithControl, DragDrop.SetFrameWithControl, ImageView.SetFrameWithControl, MapView.SetFrameWithControl TextView.SetFrameWithControl, WebView.SetFrameWithControl.
- Rewrote parts of AVRecorder.AddPreviewToWindow and WebView.Create for Mac/iOS to work better. Positioning is now relative to top/left of FileMaker content.
- Version 10.2
- Added new preferences keys for WebView.SetPreferences: mediaDevicesEnabled and mediaStreamEnabled.
- Added WebView.GetInternetExplorerHiDPI and WebView.SetInternetExplorerHiDPI functions to enable proper resolution handling in web viewer on Windows.
- Added WebView.InstallUserMediaAccess function.
- Changed idle waiting to work better for WebView.RunJavaScript.
- Fixed an issue with WebView.GetPlainText and WebView.GetHTMLText not working with frame.
- Version 10.1
- Added handing of Strikethrough text attribute for styled text conversion from NSAttributedString to FileMaker. Affects WebView.GetFormattedText, Clipboard.GetStyledText, RichText.FormattedText and other functions.
- Added WebView.PostURL function to post data or include headers.
- Fixed WebView.SetFormInputValue and related to take index for form instead of name.
- Version 10.0
- Added WebView.Evaluate function to evaluate JavaScript expression and get back result for Windows.
- Added WebView.CallFunction to call any JavaScript function on Windows.
- Added Async parameter for WebView.RunJavaScript function.
- Changed WebView.RunJavaScript for Mac and iOS to return values in right data types and report errors better. If array or dictionary is returned, we encode it as JSON.
- Fixed bug in WebView.FormReset function.
- Fixed memory leak in WebView.AddUserScript function.
- Version 9.5
- Added Webview.AddUserScript, Webview.UserScripts and Webview.RemoveAllUserScripts functions.
- Added Webview.GetPrivateBrowsing and Webview.SetPrivateBrowsing functions.
- Added Webview.RemoveScriptMessageHandler and Webview.AddScriptMessageHandler for iOS.
- Fixed problem with WebView.FindByName function not finding right web viewer on MacOS.
- Version 9.4
- Added WebView.SetFocus function.
- Version 9.3
- Added iOS support for WebView.SetCustomUserAgent function.
- Added Webview.GetAllowsLinkPreview, WebView.HasOnlySecureContent, Webview.SetAllowsLinkPreview and WebView.StopLoading.
- Changed WebView functions to look in front document window on MacOS and Windows instead of any window. This way functions now work in data viewer or the dialog to enter a new calculation.
- Implemented WebView.AllowsAnyHTTPSCertificateForHost for WebKit 2.x, so it works in FileMaker 16 and newer.
- Version 9.1
- Changed web viewer made with WebView.Create to open links with target=_blank in browser.
- Changed WebView.FindByName to better find web viewer.
- Fixed bug in WebView.FindByName for Mac.
- Version 9.0
- Changed WebView.Screenshot, Window.Screenshot and Screenshot function to mark image with resolution for Windows.
- Version 8.5
- Added Webview.ClearBrowserSession function.
- Added WebView.Screenshot and Window.Screenshot for iOS.
- Implemented WebView.Scrollbar.set, WebView.Scrollbar.getHorizontalPosition, WebView.Scrollbar.getVerticalPosition, WebView.Scrollbar.getHorizontalMaximum and WebView.Scrollbar.getVerticalMaximum for FileMaker 16+ on Mac and also for iOS.
- Version 8.4
- Added Webview.AllCookies function to return all website cookies as JSON.
- Version 8.2
- Fixed an issue with Webview functions failed to run JavaScript in iOS in case FileMaker didn't run the script on main thread.
- Fixed WebView.RenderImage for iOS.
- Implemented WebView.GetFormattedText, WebView.CopyFormattedText and RichText.ReadWebviewer for iOS and FileMaker 16.
- Version 8.1
- Added WebView.CreateOnPopover function.
- Version 8.0
- Added allowUniversalAccessFromFileURLs parameter for WebView.SetPreferences.
- Version 7.5
- Added WebView.GetAutoResizingMask and WebView.SetAutoResizingMask to decide on window resize behavior for web viewer.
- Changed WebView.InstallCallback to work in FMP 16 with WebView.Create.
- Version 7.4
- Added WebView.ClearSelection, WebView.Copy, WebView.Cut, WebView.Paste and WebView.SelectAll.
- Added WebView.Close function.
- Added Webview.Create function to create WebKit 1.x views to create PDFs/Images from website in FileMaker 16.
- Implemented WebView.RenderImage for FileMaker 16 on macOS 10.13.
- Version 7.3
- Added support for FileMaker 16 for WebView.Passwords.Install function.
- Added Webview.SendCommand and Webview.ExecCommand.
- Version 7.2
- Fixed coordinates for WebView.Screenshot with multiple screens.
- Version 7.1
- Added Webview.GetHidden and Webview.SetHidden to make WebViewer invisible on Mac.
- Improved memory management for WebView.RenderImage function.
- Version 7.0
- Fixed WebView.EstimatedProgress.
Blog Entries
- Claris Platform Vision 2021
- MBS FileMaker Plugin, version 10.5pr8
- Software Breaking points
- Notes from Claris Engage
- Neues MBS FileMaker Plugin 10.0
- MBS FileMaker Plugin, version 9.6pr4
- Neues MBS FileMaker Plugin 9.3 - Über 5900 Funktionen in einem Plugin
- MBS FileMaker Plugin 9.3 - More than 5900 Functions In One Plugin
- MBS FileMaker Plugin, version 8.2pr7
- MBS FileMaker Plugin 8.0 - More than 5000 Functions In One Plugin
FileMaker Magazin
- Ausgabe 5/2013, Seite 24
- Ausgabe 5/2013, Seite 23
- Ausgabe 1/2008, Seite 32
Example Databases
- WebViewer/Copy text from nicedit.com website
- WebViewer/Form Fields/Formfield sample
- WebViewer/Form Fields/Forms Sample
- WebViewer/Form Fields/Hidden Fields
- WebViewer/Form Fields/WebViewer Forms
- WebViewer/InstallUserMediaAccess
- WebViewer/Signature Field
- WebViewer/WebKit 1.x macOS only/WebViewer Print
- WebViewer/WebView Copy and Paste
- WebViewer/WebViewer GetURL
Feedback: Report problem or ask question.

Links
MBS Xojo Chart Plugins