However, if you have used JavaScript, such as in Jeremy Brown’s useful Web Viewer Integrations Library, to display graphs in the FileMaker Web Viewer via data URLs, you may run into issues when displaying in FileMaker WebDirect. JavaScript can expand the functionality to include almost any type of graph you can imagine and populate it with your FileMaker data. Seems pretty straightforward, right? However, arbitrarily long URLs or odd characters may cause the iframe to break and not load. The remote content of an iframe object is referenced as an attribute, at a very basic level, like so: Iframes are a special type of HTML entity meant to easily specify and display other HTML content to display within that iframe object. However, in WebDirect, content needs to be loaded inside the web page as the content of an “iframe” entity. This functions just like you would open a new tab in your web browser and load a URL. However, after discussing the issue with co-workers Jeremy Brown and Ross Johnson, we discovered several workarounds. I’d like to share the simplest and most elegant solution.įirst, the FileMaker Web Viewer, when shown on a FileMaker Pro layout, runs as its own independent web page. At first, our team assumed this was a limitation of FileMaker WebDirect. As these techniques become more popular, more developers may experience this issue. We have received several inquiries regarding the issue of FileMaker Web Viewers not rendering in WebDirect. Are you looking for help taking your FileMaker solution online? Learn more about enhancing your FileMaker application with custom web features.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |