The amazing adventures of Doug Hughes

Adobe’s Flex framework is a beautiful tool for building forward facing applications and exposing data, editing data and visualizing data in a variety of different ways. Many companies may be avoiding using this technology simply because they feel that they’ve already committed to another platform. I’d like to quickly highlight the possibility that the Flex framework may still be an exceptional resource to add to your existing technology platform. Say, for example, you have a client that wanted to deliver their existing filemaker pro application with the rich front end user interface created in Flex.

Here are a few quick tips to help you get started.

After installing File Maker and File Maker Server. Open the correct File Maker database file. Set privileges for ‘fmsxml’. ( File – Manage – Accounts & Privileges ) I recommend creating a Privilege Set for exposing this data via xml.

In your File Maker Server Console tool, upload your data set to the server. Make sure that your new database is running and that there is a check-mark under the XML column.

In a browser the following URL will display all of the record sets from your data set:

http://127.0.0.1/fmi/xml/fmresultset.xml?-db=FileMakerFile&-lay=Layout&-findall Replace http://127.0.0.1/ with your server location. (Replace ‘FileMakerFile’ and ‘Layout’ with the Database and Layout of the data that you’d like to display)

Notice the ‘findall’ command at the end. FileMaker Server behaves very much like a web service meaning that FileMaker bakes in a set of commands that allows you to add, update, delete, find a specific record sets or find the entire record set right out to the box.

Adobe Flex has a set of defined classes and methods for specially working with XML data. Using these classes Flex is able to retrieve, update or delete data from the FileMaker database in organized way. In this case, I just created some quick data visualizations from the data set.

If your company is interested in exposing your preexisting data sets to a richer user interface powered by Adobe Flex please don’t hesitate to contact us.

Comments on: "Connecting Adobe Flex to FileMaker Pro Applications" (2)

  1. Brilliant post thanks, made for some great night-time reading! Tim

    Like

  2. your blog is very good, and i have subscribed to your blog, i read a couple of posts on your blog and they all were so great, really nice. i read news online, and i spent most of my time reading blogs like yours

    Like

Comments are closed.

Tag Cloud

%d bloggers like this: