Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5   10.0    Statistic  


Assigns this webviewer our download delegate.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WebView 2.7 Yes No No No No
MBS( "WebDownloadDelegate.Install"; WebViewerRef )   More


Parameter Description Example value
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.


Returns OK on success or error.


Assigns this webviewer our download delegate.
This needs to made whenever you want to receive download script calls for a webviewer.
If webviewer is part of a data record in FileMaker, you may need to set it for each record whenever a record is loaded.

Not supported for WebKit 2.x (FileMaker 16 Mac).


Makes sure all PDF files are downloaded:

MBS( "WebDownloadDelegate.Install" ; "web" )
MBS( "WebPolicyDelegate.AddMimeType"; "application/pdf"; "download" )

See also

Example Databases

Created 18th August 2014, last changed 19th February 2017

WebDownloadDelegate.GetFolder   -   WebDownloadDelegate.MIMEType

Feedback: Report problem or ask question.

MBS Xojo blog