So, we all want the reliability, speed and scalability of a FileMaker Server as our Servoy backend right? OK, seriously, at our company we needed to integrate Servoy and FileMaker to help the transition, since we have several hundtred FileMaker databases and can't transfer them overnight.
The Solution....
There is a free XML JDBC driver out there from 360 Works, however it doesn't work with servoy becuase just like the FM Driver, it doens't implement primary keys. So, I've modified the driver in several places and allowed you to specify the PK in the connection URL when setting it up as a Datasource. I've tested it with FileMaker 7 & 8, it may work in 5 depending if they implement the logical OR operator in the URL parameters.
There are many bugs since it goes through FileMaker's XML, so I've listed below what I have tested so far and what does & doesn't work. Hopefully most of the stuff will work in the future with some more modifications to the JDBC driver.
-Scrolling through records, making relations, valuelists, (your basic stuff) all works.
-Sorting doesn't work
-New Record doesn't work
-Delete Record works, but doesn't update Servoy until a refresh
-Wildcard Search doesn't work
-Text fields display, search, and update correctly
-Date fields don't display, but CAN be searched, and if you edit in servoy, will update correctly in FileMaker
-Number fields don't display, but CAN be searched, and used in relationships, and will work correctly
-For performance, the driver only returns back 200 records. All records can be searched, but only up to 200 returned
-SQL commands with the getDatasetByQuery work
-SQL commands with the Raw SQL plugin work
How to get it Working:
First, since it uses XML you must obviously have Web Publishing enabled in FileMaker. I'll assume everyone knows how to do that.
Download the Jar attached in this post and put in in your /Servoy/Drivers folder.
Restart Servoy, go to the preferences and add a new DB Sever.
Specify the username and password for your solution
Choose com.ddc.fmjdbc.Driver for the JDBC Driver
The connection URL is in the format of:
jdbc:ddc://192.168.0.0/xJDBCTest;pk=Key
where
-192.168.0.0 is the ip of your Web Publishing Engine (may be the same as your FileMaker DB server, unless you used a 2-tier approach)
-xJDBCTest is the name of your filemaker database
-Key is the name of your primary key field for that database (and all tables within that database)
And that should be it!
Let me know if you have problems with it. Also, if there are some good Java/XML/FileMaker IWP developers who are interested in speeding this project along, I'm willling to share.
----UPDATE-----
For first time visitors to this posting, this driver has and will continue to get several updates. For instructions and a link to download the driver, please visit the project home page at http://goldcougar83.googlepages.com OR to view the source code, visit http://code.google.com/p/filemaker-to-servoy-jdbc-driver/
Future updates will be made on that page, but you can continue posting bugs and such on this post for eveyone to see, and I will respond on this forum topic as well.
Additional Information for converting FileMaker applications to Servoy: http://goldcougar83.googlepages.com/convert_filemaker_to_servoy
----------