Excelisys, Inc.
Home Company Services Portfolio eXFiles Downloads News Contact Us
Ex Files Logo
Custom Database Solutions and Web Applications

Database Development, Design, and Consulting
Services Request Form

Toll Free (866) 592-9235

Direct (574) 273-5805
eX Cetera Blog

Archive for the ‘FileMaker10’ Category

It’s Official: Use our Drag-n-Drop Technique With Confidence

Friday, September 11th, 2009

Engineers at FileMaker Inc. have finally dispelled a rumor.

During the recent FileMaker Developer Conference in San Francisco last month, quite a few attendees approached us asking whether a statement heard in one of the sessions was true or not. It seems one of the presenters from FMI suggested the idea that Excelisys‘ now famous drag-n-drop technique was not necessarily reliable and should be used with caution.

The statement was made in recognition of the fact that the technique, which allows you to create a once-impossible user interface feature, is based on what engineers call an “unexpected behavior” which could possibly change in future versions of FileMaker Pro. However, this behavior is NOT a bug, and is in fact considered a feature by many developers.

The behavior in question is the fact that an auto-enter calc will trigger before a script trigger is executed. Discovering this behavior was a surprise to many, including FMI engineers.

We wanted to set the record straight, so we spoke with FileMaker engineers. The word finally came down from them this week that there is almost no likelihood of this behavior changing anytime soon. Of course, FMI can’t guarantee the low-level behavior will persist in future versions, nor would we expect them to. But we are confident that such a change is highly unlikely.

So relax and integrate this amazing technique into your solutions with confidence. The advice to use with caution is generally made when any technique is dependent on an unexpected behavior. But with a confirmation direct from the “horse’s mouth”, as it were, we consider this a green light.

Excelisys Sponsors the FileMaker Developer Conference, Again!

Thursday, July 23rd, 2009

Excelisys is once again a major sponsor for the FileMaker Developer Conference. Excelisys has been a sponsor for the FileMaker DevCon for the last 7 years, this the largest gathering of FileMaker developers in world.

Join us at the Hilton San Francisco on O’Farrell Street, August 13-16, Thursday through Sunday for the annual FileMaker Developer Conference 2009. You’ll get the most intensive technical FileMaker educational opportunity of the year and you can stop by our booth and get some advice, assistance, and maybe a goodie or two to take home!

Excelisys Featured in Latest Adatasol FileMaker Podcast

Tuesday, April 21st, 2009

A group from Excelisys consisting of Andrew Persons, Mike Duncan and Geoff Ryle recently participated in the recording of an Adatasol podcast that was just released. We had a great time, and enjoyed talking tech and FileMaker with co-hosts Dan Weiss and Theo Gantos. In the podcast, we discussed our latest free “tips-n-tricks” postings that take advantage of FileMaker Pro 10’s new script triggers feature. Check out this and past podcasts at their website or on iTunes.

Excelisys to Appear on Adatasol Podcast

Thursday, April 2nd, 2009

A group from Excelisys consisting of Andrew Persons, Mike Duncan and Geoff Ryle participated in the recording of an Adatasol podcast last night. We had a great time, and enjoyed talking tech and FileMaker with co-hosts Dan Weiss and Theo Gantos. In the podcast, we discussed our latest free “tips-n-tricks” postings that take advantage of FileMaker Pro 10’s new script triggers feature. Check out past podcasts at their website or on iTunes, and stay tuned for our upcoming episode.

Drag and Drop-Dead Elegant Interfaces

Wednesday, January 28th, 2009

Everyone at Excelisys loves to hear that rhetorical question asked: “Woah! You can do THAT in FileMaker?” Oh yeah, you can. Well this is one of those moments, and we just posted a demo file and white paper about it up on our Excelisys web site.

http://www.excelisys.com/web/downloads/index.php

With the new script triggers introduced in the recently released FileMaker Pro 10, we all can now deliver a richer user experience to our customers - one that incorporates a familiar and elegant interface mechanism: drag-and-drop.

The new demo file we’ve posted is fully unlocked, requires FileMaker Pro 10, and includes three interface examples of the drag-and-drop technique. There is also an embedded PDF white paper that further explains how the whole thing is built, with sample code.

The most obvious use is sorting. Let’s say you’re in a band and you’re trying to organize a set list. Just drag the song titles into the order you want, or change it up again just by dragging. How long have we wanted this feature?

Another great use is building a list. Let’s say you’re managing the receiving dock in a warehouse and you have two lists: the one on the left shows four items ordered on a PO, while the list on the right is blank but will include the items you are receiving. Today you only received one item, so you drag that item from the list on the left into the list on the right. Easy, right?

But here’s yet another great example: nesting in a hierarchical interface. We’ve previously posted a tip on how to build a hierarchical interface, so here’s how to - BAM! - kick it up a notch. Let’s say you have an outline for a presentation, and you decide to move some of your subtopics to another parent topic. By just dragging the subtopic to another topic in the list, you have rearranged your outline - any nested subtopics in the item you moved are automatically moved with it, just as you’d expect.

And that’s when it hits you…   THIS is FileMaker???

These great techniques, examples and white papers are brought to you (once again) by eX-Team Senior Developer Andrew Persons.

Can you think of any other great drag-and-drop example ideas? Leave us a comment and tell us about it, and if applicable let us know how this technique helped you in your projects.

New in FileMaker 10 - Updated Send Email Script

Saturday, January 10th, 2009

Today’s post is by one of our lead developers. Mike Duncan

Updated Send Email Script (and sending email from your server)

You might be familiar with the way we’ve been able to use the “Send Email” step in previous versions of FileMaker, and those are all unchanged for the most part. Of course, it’s very easy to create a document such as a PDF brochure or Excel spreadsheet populated with data and send that as an attachement. As long as you’re using this from FileMaker Pro, this works great and there’s probably not an easier method of creating a PDF that is specific to the records in your database. Especially when using the Multiple Emails option to send one email for each record in a found set. Nice.

A new feature in FileMaker 10 is the ability to send email directly from FileMaker via SMTP. In the updated script step, you’ll find settings for an SMTP server. Almost all these settings can either be entered directly from the script, or by the result of a calculation if the values need to be more dynamic. The only settings you need to specify is the Authentication and if you’re using SSL. By the way, if you are using SSL, the port number does not automatically change for you. Usually, it’s port 465 for SSL and 25 for the regular non-SSL port.
This all means that when you send an email, we’re no longer dependant on an email client sending the email on our behalf. Hooray! Now for the bad news…

Unfortunately, the implementation falls short in some key areas, if you happen to need anything beyond basic functionality of sending email, that should keep various SMTP plug-in makers in business for a while. For most people, accepting HTML email is pretty standard nowadays, but if you want to send an HTML email (either nice looking reports or fancy marketing material) you’re out of luck with the built in tools FileMaker gives you. It’s plain text ONLY, with the consolation of including an attachment. I know that some email clients will display attachments inline, making this seem more like html email, but for me it falls short. I’m willing to live with the fact that some users can’t see HTML email, but I won’t expect attachments to show up in email messages for everyone. The people who deliberately turn off HTML email are increasingly in the minority, partly due to the fact that most modern email clients make it extremely difficult to do so. If you’re using a recent version of Outlook (on Windows) or Mail.app (on Mac OS) then take a few minutes and try to turn it off, I’ll wait.

Now let’s take a look at FileMaker Server and sending email.

More good news. This step is Server compatible, which means you can schedule it from the server, and it will send an email from FileMaker Server, without the need for a robot machine or similar nonsense! More bad news… the “Save records as PDF” script step is still NOT. So while you can send email from FileMaker Server 10, that groovy PDF won’t be able to be attached like you wanted. You also cannot “Export Field Contents” or “Save as Excel”, though these are somewhat available as a regular export.

This is state of the art 1995 for sending automated email. I can’t understand why adding an HTML option would be out of the question, but it’s just not here. I also don’t see why saving a PDF is also greyed out, but I’m sure there is a good reason behind it. It ends up being a feature I don’t see myself using too often because of these limitations. Of course, the ability to export records IS now able to run from the server, so you can export however you like and attach that to your email. And you can export as an excel spreadsheet this way, but not PDF.

So what are the options for sending email from FileMaker Server that might be more robust? I’m not aware of plug-ins that run server side, but there might be some that fit the bill that I’m not aware of. For me, using a web scripting language has filled this gap for some time now. PHP is the one used most now and is free and installed with FileMaker Server if you choose. It’s fairly easy to loop through found sets, and send an email to each record, with multi-part messages that will show both plain text as well as HTML. All the benefits of HTML email are available as well, including referencing images, complex html and clickable links. The payoff of a great end user experience is well worth the development.

There is plenty that FileMaker Server is capable of now from the server side other than just serve data. You can also imagine the possibilities of running some pretty complex scripts on the server that collect data that might be picked up by a php script that formats it as a nicely marked up html email and sends it out each night. Perhaps daily activity, or end of month sales reports, who knows. And no one needs to click a button to do it, or even launch FileMaker.

It’s worth mentioning that I’ve had good success with the phpmailer class for a more robust email sending method from PHP, which can be had for free from http://phpmailer.codeworxtech.com/ if you need it. It also allows for sending via sendmail from the server where PHP is installed, or you can specify a SMTP server as well.

The update to sending email from FileMaker is a welcome one, and much needed. The more robust options are still available and, in my opinion, still required. I will have to look forward to the addition of HTML in some future version.


Contact Us Toll Free at (866) 592-9235 or Submit a Services Request Form
Home | Company | Services | Portfolio | eXFiles | Downloads | News | Contact Us | Privacy Policy | Site Map
© Copyright 2001-2010 Excelisys, Inc. - All Rights Reserved. - Website Design by Excelisys, Inc.

Services | Services We Offer | Database Development | FMP Development | FMP Consulting | FMP Migration/Conversion
FMP Resources | FMP Articles | Web Development | Commercialware | Custom vs Commercial | The Development Process