
Unlocking the Power of FMP URLs in FileMaker Systems
Delve into the world of FMP URLs with expert insights from Jeremiah Hammond, a Senior Technical Project Lead at DB Services. Explore the structure of FMP URLs, their potential in web viewers, and discover why they are a magic hat for FileMaker developers. Get a clear understanding of how FMP URLs can enhance your FileMaker projects and add value to your workflow.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
FMP URLS Jeremiah Hammond Senior Technical Project Lead www.dbservices.com
Background Work Member of FM Academy Tech Lead at DB Services Article included in FM Newsletter Certified in 13, 12, 11, 10 Global presence (Canada, Europe, Africa) Working in the FileMaker industry for over 8 years Team focused on adding value Sponsor at FileMaker Developer Conference Read more on me on our website, dbservices.com, in the About section
About You Have you ever used an FMP URL to build a feature in a FileMaker system?
Agenda What s an FMP URL? Structure of FMP URLs Unlocking the Potential of Web Viewers Demos Additional Resources
Whats so special about FMP URLs anyway? + FMP URL = Magic Hat Image from http://files.softicons.com/download/web-icons/magic-people-icons-by-dapino/png/256x256/magic_hat.png
Structure of an FMP URL fmp://[[account:password@]netaddress]/databasename[?sc ript=scriptname[¶m=scriptparameter][&$variablenam e=value]]
Structure of an FMP URL fmp://[[account:password@]netaddress]/databasename[?sc ript=scriptname[¶m=scriptparameter][&$variablenam e=value]] fmp://
Structure of an FMP URL fmp://[[account:password@]netaddress]/databasename[?sc ript=scriptname[¶m=scriptparameter][&$variablenam e=value]] fmp://JohnDoe:fmstl4Life@ Account Password
Structure of an FMP URL fmp://[[account:password@]netaddress]/databasename[?sc ript=scriptname[¶m=scriptparameter][&$variablenam e=value]] fmp://JohnDoe:fmstl4Life@fm.dbservices.com Account Password Server Address
Structure of an FMP URL fmp://[[account:password@]netaddress]/databasename[?sc ript=scriptname[¶m=scriptparameter][&$variablenam e=value]] fmp://JohnDoe:fmstl4Life@fm.dbservices.com/Invoices.fmp12 Account Password Server Address File Name
Structure of an FMP URL fmp://[[account:password@]netaddress]/databasename[?sc ript=scriptname[¶m=scriptparameter][&$variablenam e=value]] fmp://JohnDoe:fmstl4Life@fm.dbservices.com/Invoices.fmp 12?script=Hello Filemaker STL Script
Structure of an FMP URL fmp://[[account:password@]netaddress]/databasename[?sc ript=scriptname[¶m=scriptparameter][&$variablenam e=value]] fmp://JohnDoe:fmstl4Life@fm.dbservices.com/Invoices.fmp 12?script=Hello Filemaker STL¶m=abc Script Script Parameter
Structure of an FMP URL fmp://[[account:password@]netaddress]/databasename[?sc ript=scriptname[¶m=scriptparameter][&$variablenam e=value]] fmp://JohnDoe:fmstl4Life@fm.dbservices.com/Invoices.fmp 12?script=Hello Filemaker STL¶m=abc&$showExtraDialog=1&$extraDialogMes sage=<3 FMP URLs! Variable 1 Variable 2
Special Placeholders for Server Address ~ fmp://~/Invoices.fmp12?script=HelloIFDG $ fmp://$/Invoices.fmp12?script=HelloIFDG * fmp://*/Invoices.fmp12?script=HelloIFDG
Best Practices URL Encoding Dynamically generating file and script names
The Essentials To recap, there re only three required components to an FMP URL: fmp://, server address, and file name (no ext) fmp://fm.dbservices.com/Invoices This is a valid FMP URL Everything else is optional
Unlocking the Potential of Web Viewers + FMP URL Image from http://img3.wikia.nocookie.net/__cb20140903193524/computerscience/images/c/ce/Javascript_logo_unofficial-300x300.png
Calling the FMP URL in Javascript Self.Location or Window.Location
Some Things to Keep in Mind Asynchronicity Embedded Javascript readability URL encode Clipboard makes a comeback on Windows Web viewer limitations
Takeaways The world of Javascript is at your disposal Can solve problems that were previously not possible without a plugin Must have some comfort with web languages Keep as much of the business logic in FileMaker as possible
Starting Points Getting Started with Javascript and FileMaker http://www.soliantconsulting.com/blog /2014/04/getting-started-javascript- and-filemaker A collection of FMP URL, Web Viewer and Data URL examples http://blog.jsfmp.com/post/95206822 956/collection-of-fmp-url-web- viewer-data-url-examples
Limitation Info & Workarounds Browser URL Length Restrictions http://www.boutell.com/newfaq/misc/ urllength.html The FileMaker Web Viewer as a Javascript Calculation Engine (Workaround to Character Limitation on Windows) http://www.seedcode.com/filemaker- webviewer-javascript-calculation- engine/
Web UI Controls & JS Libraries Native Web 2.0 Controls in FM 12 Layouts http://buzz.beezwax.net/2012/04/21/ native-web-2-0-controls-in-filemaker- 12-layouts jQuery Demo Site http://jqueryui.com/menu/