Summarize how often databases are opened in FileMaker Server

We needed to quickly know how often various databases were being opened on a client’s server.

If you have Access logging enabled and are using a Mac OS based system, this shell snippet will give you a nice summary of how often each database has been opened:

awk -F" '{ if($3 == " opening database ") print $4;}' '/Library/FileMaker Server/Logs/Access.log' | sort | uniq -c

Unfortunately, it won’t show you a count for databases that were never opened within the scope of the current access log.

Simon.

Fail2Ban with FileMaker Server

I needed to configure a FileMaker Server (FMS) that would be an isolated system and accessible via the Internet.

Besides other precautions, like locking it down on the firewall as much as possible, changing the default SSH port, etc., I wanted to give the system some ability to defend itself against malicious access. FMS will prevent this to some extent, largely due to how the FMS Admin Console and the FileMaker client are designed.

Continue reading “Fail2Ban with FileMaker Server”

Curl HTTP Post from FileMaker

I was trying to test out some HTTP post transactions with the curl command, and things weren’t working.

One glitch was due to how the curl command parses its options. All characters, including spaces can be significant, so “-X POST” is not the same as “-XPOST”. This difference might be hidden if calling from the shell, which trims extraneous spaces in parameters, but I was calling via the bBox plug-in’s curl function, and this calls the command directly from FileMaker.

Continue reading “Curl HTTP Post from FileMaker”

Debugging Apache with OSXS 10.8 Server 2.2

Besides being a bit of a mouthful, debugging Apache configuration issues has gotten slightly more complicated after Apple released the Server 2.2 update for Mac OS X Server.

Formerly, you could do a basic configuration check this way:

apachectl -t

Continue reading “Debugging Apache with OSXS 10.8 Server 2.2”

Code Signing a FileMaker Runtime

I wanted to code sign a runtime to avoid issues with users who had the higher security level set on their 10.8 based systems. Although lowering these permissions or holding down the control key when the app is launched will all help with this issue, code signing seems a reasonable and desirable, and removed the support issue.

Continue reading “Code Signing a FileMaker Runtime”

Button. Up.

Consider the humble button.

Since the very first moments of FileMaker cosmos, the button has been an essential element of our platform. Over the years, across major and minor product releases, the unassuming button has remained a trusted constant and a dependable workhorse.

Continue reading “Button. Up.”

The First Step to Great Solutions

How do you begin designing a new database or application? If you start with an Entity Relationship Diagram (ERD), you’re doing it wrong.

It’s natural for a technical person to begin categorizing things into entities – a company has contacts, which have addresses, etc. But this process immediately narrows your perspective to a small subset of the issues at hand, blinding you to many more important challenges and opportunities.

Continue reading “The First Step to Great Solutions”

Just a Slice, Please…

Here’s an interesting FileMaker challenge:

How can you dynamically slice off a set of values from a repeating field in a related table, the way you’d grab a column of values in a spreadsheet?

It’s easy enough to do this for a single repeating field in the current record, but how do you do this with a repeating field in a different table, operating not just on a single record, but an entire record set?

Continue reading “Just a Slice, Please…”

XML Parsing with FileMaker and bBox

In order to more easily work with XML data, I’ve added the libxml2 library to version 0.54 of the bBox plug-in.

Among other things, libxml2 provides support for XPath 1.0 queries, which can be used to easily extract or set values from XML data, so XPath was my first choice. Although XML has lost a bit of its shine as JSON has come into vogue, XML is still integral to many systems, including FileMaker. Also, the XPath routines can be used for similar syntaxes, so for instance, you might find it helpful for scraping data from a HTML page.

Continue reading “XML Parsing with FileMaker and bBox”

Our First FileMaker 12 Certified Developers

We’re pleased to announce three Beez who earned the title of FileMaker 12 Certified Developer.

  • Vincenzo Menanno, Director of FileMaker Development
  • Will Baker, Senior Developer
  • Brian Schick, Senior Developer

FileMaker 12 Certification is the official credential offered by FileMaker, Inc., certifying a developer as achieving an “essential level of knowledge, experience and skills in developing FileMaker 12 solutions.”

Continue reading “Our First FileMaker 12 Certified Developers”

[PR] Beezwax Announces InspectorPro 4 for FileMaker 12

Beezwax Announces InspectorPro 4 for FileMaker 12

Leading Developer Tool Now Up To 10x Faster, Provides Deeper Analysis for FileMaker 12 Databases

MIAMI, Fla. – July 16, 2012 – Beezwax Datatools, Inc. today announced InspectorPro 4, a major new version of the leading developer tool for FileMaker 12 database analysis. Rewritten from the ground up to take advantage of FileMaker 12’s new architecture, InspectorPro 4 is up to 10 times faster than previous versions at processing FileMaker Database Design Reports. New features provide deeper analysis of database elements, a central dashboard, localized UI options, and powerful data visualizations – enabling FileMaker developers to discover more about their databases than ever before.

Continue reading “[PR] Beezwax Announces InspectorPro 4 for FileMaker 12”

Go, JavaScript Go!

Introduction

You gotta love FileMaker Go. Go’s ability to effortlessly create data-driven mobile apps and extend existing desktop data applications to mobile users is transformative. But sooner or later, almost all of us run up against one of Go’s core limitations: its lack of native plugins.

Continue reading “Go, JavaScript Go!”

List cron entries for all users on Mac OS X

I needed to investigate why a script was being run, and I was pretty sure cron was launching it. The problem was, little useful information was being logged, and no one was sure how it had been set up or what user it was under. Although launchd is now the preferred mechanism on Mac OS for these kinds of things, you’ll still see many systems where cron is being used.

First, you want to become the root user. The following Terminal command is one way to accomplish this:

sudo -s

Continue reading “List cron entries for all users on Mac OS X”

Getting a FileMaker label’s text in a conditional formula

I wanted to do some conditional formatting, such that when a global field had a certain value the label would change its appearance. For example, if my sort column was “address”, then I wanted the column header containing the text “Address” to highlight.

Continue reading “Getting a FileMaker label’s text in a conditional formula”

Using Cocoa’s PDFDocument class from FileMaker

I’ve been looking for a way to interface with some Cocoa classes in the Mac OS X API from FileMaker for a while. My initial target was PDFDocument, part of the PDF Kit suite of classes. For more information on Cocoa’s PDF Kit see here: Introduction to PDF Kit Programming Guide

Continue reading “Using Cocoa’s PDFDocument class from FileMaker”

Freebie: Grab CSS From FileMaker 12 Layout Objects

There’s been plenty of discussion on FileMaker’s developer forums about the implications of using CSS to style layouts in FileMaker 12. In case you weren’t aware, FileMaker 12 introduced a new layout design surface whose styling is based on CSS. It’s a powerful new feature that hints at an exciting roadmap for the FileMaker product line. I’m not going to indulge in any details on this topic, however, because FileMaker has yet to officially expose the CSS styling to developers.

But say you were curious, for educational purposes, about what that styling looks like…

Continue reading “Freebie: Grab CSS From FileMaker 12 Layout Objects”

Native Web 2.0 Controls in FileMaker 12 Layouts

One of the most exciting aspects of the newly-released FileMaker 12 product line upgrade is a major redesign to the product’s UI. A new Design Surface modernizes FileMaker Pro layouts and updates every built-in control, giving developers and designers powerful new tools for designing better interfaces.

But as great as Design Surface is, why just stay on the surface?

Continue reading “Native Web 2.0 Controls in FileMaker 12 Layouts”

FileMaker 12: Exciting New Possibilities

FileMaker, Inc. introduced the next generation of their database platform today with the release of FileMaker 12. This is a major upgrade to every part of the FileMaker product line. There are new versions of FileMaker Pro, FileMaker Pro Advanced, FileMaker Server, FileMaker Server Advanced, and FileMaker Go – which is now free for iPhone and iPad.

Continue reading “FileMaker 12: Exciting New Possibilities”

Recipe for testing JDBC connection to FileMaker Server

FileMaker Server Advanced allows external systems to connect to its hosted database files via ODBC and JDBC. The remote systems can then run SQL commands against the hosted databases. Often the hard part is getting all the infrastructure ready for this. That includes the correct extended permissions on the FileMaker database file, needed drivers, firewall settings, etc.

Continue reading “Recipe for testing JDBC connection to FileMaker Server”

1 8 9 10 11 12