Understanding FMP URLs for FileMaker Systems

Slide Note
Embed
Share

Delve into the comprehensive guide on FMP URLs for FileMaker systems, exploring their structure, potential, and practical applications. Learn how to leverage FMP URLs effectively to enhance your FileMaker solutions and maximize their capabilities. Discover the nuances of FMP URLs with detailed explanations and examples provided by a seasoned industry expert.


Uploaded on Oct 08, 2024 | 0 Views


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. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. FMP URLS Jeremiah Hammond Senior Technical Project Lead www.dbservices.com

  2. 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

  3. About You Have you ever used an FMP URL to build a feature in a FileMaker system?

  4. Agenda What s an FMP URL? Structure of FMP URLs Unlocking the Potential of Web Viewers Demos Additional Resources

  5. Whats an FMP URL?

  6. 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

  7. Structure of an FMP URL fmp://[[account:password@]netaddress]/databasename[?sc ript=scriptname[&param=scriptparameter][&$variablenam e=value]]

  8. Structure of an FMP URL fmp://[[account:password@]netaddress]/databasename[?sc ript=scriptname[&param=scriptparameter][&$variablenam e=value]] fmp://

  9. Structure of an FMP URL fmp://[[account:password@]netaddress]/databasename[?sc ript=scriptname[&param=scriptparameter][&$variablenam e=value]] fmp://JohnDoe:fmstl4Life@ Account Password

  10. Structure of an FMP URL fmp://[[account:password@]netaddress]/databasename[?sc ript=scriptname[&param=scriptparameter][&$variablenam e=value]] fmp://JohnDoe:fmstl4Life@fm.dbservices.com Account Password Server Address

  11. Structure of an FMP URL fmp://[[account:password@]netaddress]/databasename[?sc ript=scriptname[&param=scriptparameter][&$variablenam e=value]] fmp://JohnDoe:fmstl4Life@fm.dbservices.com/Invoices.fmp12 Account Password Server Address File Name

  12. Structure of an FMP URL fmp://[[account:password@]netaddress]/databasename[?sc ript=scriptname[&param=scriptparameter][&$variablenam e=value]] fmp://JohnDoe:fmstl4Life@fm.dbservices.com/Invoices.fmp 12?script=Hello Filemaker STL Script

  13. Structure of an FMP URL fmp://[[account:password@]netaddress]/databasename[?sc ript=scriptname[&param=scriptparameter][&$variablenam e=value]] fmp://JohnDoe:fmstl4Life@fm.dbservices.com/Invoices.fmp 12?script=Hello Filemaker STL&param=abc Script Script Parameter

  14. Structure of an FMP URL fmp://[[account:password@]netaddress]/databasename[?sc ript=scriptname[&param=scriptparameter][&$variablenam e=value]] fmp://JohnDoe:fmstl4Life@fm.dbservices.com/Invoices.fmp 12?script=Hello Filemaker STL&param=abc&$showExtraDialog=1&$extraDialogMes sage=<3 FMP URLs! Variable 1 Variable 2

  15. Special Placeholders for Server Address ~ fmp://~/Invoices.fmp12?script=HelloIFDG $ fmp://$/Invoices.fmp12?script=HelloIFDG * fmp://*/Invoices.fmp12?script=HelloIFDG

  16. Best Practices URL Encoding Dynamically generating file and script names

  17. 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

  18. 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

  19. Calling the FMP URL in Javascript Self.Location or Window.Location

  20. Data URLs

  21. Getting Javascript Files into a Web Viewer

  22. Some Things to Keep in Mind Asynchronicity Embedded Javascript readability URL encode Clipboard makes a comeback on Windows Web viewer limitations

  23. Demo Time

  24. 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

  25. Additional Resources

  26. 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

  27. 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/

  28. 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/

  29. Q&A

Related


More Related Content