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

WebView.GetSourceData

Queries the source data from the web viewer.

Component Version macOS Windows Linux Server iOS SDK
WebView 2.1 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "WebView.GetSourceData"; WebViewerRef { ; 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. "web"
Filename The filename to use for the container. "test.pdf" Optional

Result

The data in the webviewer as a container value. For example for a PDF document, the PDF document is returned.

Description

Queries the source data from the web viewer.
If you provide a filename, we'll use this name for the container value. But if you provide a name, your name will be used.
For some media the data is not available for the plugin, so you can query the URL using WebView.GetURL and download it yourself.

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 6th June 2023


WebView.GetSource - WebView.GetTitle