Web viewer: embedding HTML, maps, and external content
ExpertUse the web viewer object to display external URLs, dynamically generated HTML, and embedded maps within FileMaker layouts.
What you'll learn
- How to display a URL in a web viewer with a calculated address
- How to generate and display custom HTML using the data: URL scheme
- How to pass FileMaker field values into the HTML for dynamic display
The FileMaker web viewer embeds a full browser rendering engine in a layout object. It can display external web pages, locally generated HTML (using the "data:" URL scheme), and map services. This makes it a powerful tool for custom data visualization, document previews, and integrations that benefit from a browser-based UI within FileMaker.
1/3
1
Calculated web viewer URL
Set the web viewer's address to a FileMaker calculation that builds the URL from field values. This enables dynamic content like Google Maps centered on a contact's address.
FileMaker Script
// Google Maps centered on a contact's address:
"https://maps.google.com/maps?q=" &
GetAsURLEncoded ( Contacts::Street & " " &
Contacts::City & " " &
Contacts::State & " " &
Contacts::Zip )Sign in to track your progress and pick up where you left off.
Sign in to FM Dojo