Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
WebView.ClearVirtualHostNameToFolderMapping
Clears a host name mapping for local folder.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WebView | 14.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "WebView.ClearVirtualHostNameToFolderMapping"; WebViewerRef; hostName ) More
Parameters
Parameter | Description | Example |
---|---|---|
WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function. | |
hostName | The host name to be removed from the mapping. | "MyFiles" |
Result
Returns OK or error.
Description
Clears a host name mapping for local folder.You define the mapping with WebView.SetVirtualHostNameToFolderMapping function.
Requires FileMaker 19.4 and WebView2 browser component.
Examples
Create virtual host:
Set Variable [ $r ; Value: MBS( "WebView.SetVirtualHostNameToFolderMapping"; "web"; "MyFiles"; "C:\Temp\Files"; "allow") ]
See also
Release notes
- Version 14.3
- Added WebView.ClearVirtualHostNameToFolderMapping and WebView.SetVirtualHostNameToFolderMapping functions.
Blog Entries
- MBS FileMaker Plugin 14.3 News
- MBS FileMaker Plugin, version 14.3pr4
- Use web viewer in FileMaker to show 3D models
This function checks for a license.
Created 17th June 2024, last changed 17th June 2024