| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
WebView.GetIcon
Queries the favorite icon of current webpage.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| WebView | 5.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
Deprecated
This function was deprecated. Use WebView.Favicon instead.
MBS( "WebView.GetIcon"; WebViewerRef { ; ImageType; FileName } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function. | ||
| ImageType | The type of image to return. Either JPEG, PNG, GIF or BMP. Default is JPEG. |
"JPEG" | Optional |
| FileName | The filename to use for the picture. Default is "image" with the extension matching the image type. |
"test.jpg" | Optional |
Result
Returns container value or error.
Description
Queries the favorite icon of current webpage.Not supported for WebKit 2.x (FileMaker 16 Mac), but works in FileMaker 16, when using a Web Viewer created using WebView.Create.
See also
- WebView.Create
- WebView.Favicon
- WebView.FindByName
- WebView.GetForm
- WebView.GetImage
- WebView.GetLink
- WebView.GetURL
- WebView.GetZoom
- WebView.SetZoom
- WebView.Version
Blog Entries
- MBS FileMaker Plugin 5.0 for OS X/Windows - More than 3000 Functions In One Plugin
- MBS FileMaker Plugin, version 5.0pr8
This function checks for a license.
Created 19th January 2015, last changed 21st July 2025