There are several ideas for using the web viewer in interesting ways on our web site.
Hope that helps...
Helping businesses become more effective, productive, and profitable through custom iPad/iPhone applications, FileMaker app solutions, and web site design.
Thanks Tim. I'll check that out I need to put some progress bars in my database.
Sent from my iPhone
You can use Webviewer to show controls which are not directly available in Filemaker.
Like this slider example:
Or using an editor:
You can also build progress bars in FMPro with the chart tool and a variable which is reset during long scripts or loops to show the percent completed.
You've gotten some great answers, Jeremy. Here's what I've used WV for:
when it first was introduced, I did indeed create a 'website' of help files (HTML, CSS, JS and images). These are called appropriately based on the location of calling "help". they are hyperlinked, of course, so they can be explored more than just the topic you are looking for. These are external files placed with the path that can be seen locally by FileMaker (if no internet).
how you get the data to the WV is local or remote, in a container and/or other fields and perhaps pushed to static pages or just displayed with the "data protocol", is the bigger question. Along came plug-ins that seems to have greater interactivity between FileMaker fields and the WV. But they may depend on what you want to do and whether you use them or not.
We use the WV in our information systems for
- displaying book covers for a title record (using the Google Books API)
- printing out QR-Codes for our book labels (using the Google Charts API)
- visual control of how the record would look like in a CWP-enabled solution (all our solutions are CWP-enabled ...)
You can also use it to scrape content of Web pages. See the FM help for the GetLayoutObjectAttribute function to obtain some ideas.
Some things we are using WV for in client solutions
As a PDF viewer for a local file on the hard drive
Taking XML data, converting to HTML for display, so the original can't be touched for audit purposes
Submitting data via POST to web services and reading back response - e.g. client feature requests turnign up in my Trello to-do boards
As a countdown timer clock display
I use a WV to grab a file from my server with version information. I then compare the version nrs and if necessary I show a dialog to inform the user that a new version is available.
Thanks all. I see your responses and find myself deeper in despair about what i don't know about FM. LOL.
Whew. There's a lot to know.
I wish there was a Web Viewer book out there that gave good ideas, sample code, and real examples of using the data viewer.
I need to brush up on my HTML and CSS and figure out what can be done.
Surely these are just examples of the fact that the webviewer is pretty much a fully fledged browser, so you can do most things you can do with Explorer or Safari, so its not just an FM learning thing, it is a general truism that we all need to be spammed up on web stuff these days! Its apparently not going away any time soon.
Its just more difficult to reference things like .js or .css files, but we can put their contents into fields and make them a part of a calcualated page.
There is little documentation, I agree, but there are plenty of clever things to find on the forums and blogs that people so generously share with us all.
I agree with the sentiment which I believe may be underlying jrenfrew's reply:
Think of the WebViewer as an exciting opportunity to learn more about contemporary technologies, and how such technologies might be leveraged from within FileMaker.
Have fun while you do it:
Your skills will grow; your knowledge will increase; your creative mind will flourish, and all sorts of doors will open to you.
None of the above need be cause for despair.
Enjoy the ride!
FileMaker does most of what we need very efficient. And everyting could probably be done in more than one way.
But here just two small and very very broad examples:
- IWP is pretty limited, and just to mention one issue: You can not upload files to containerfields through IWP. But create a webviewer and add some PHP and you are on the right road.
- You need to get dynamic data from a web service into FileMaker ... do I need to say more?
You can draw things and move them around geographically; for example, a jigsaw puzzle. The drawn items can have transparency, and therefore arbitrary shapes.
I am the technical manager at an Apple Service Provider.
We are using it to send SMS messages from FileMaker to our customers when a service job is done.
You will need an account at an SMS portal service provider. Web viewer sends a string to the SMS portal, which in turn sends the SMS to the receipient.