English

Complete Barcode Scanning & Generation in FileMaker

There's nothing more fraught with errors than allowing a human to enter a long string of digits. Some people are detail oriented and others less so. Who cares if you transpose the seven and zero right? Well, we developers care, that's who. We need things to be user-friendly, fast and exact. That's what you get with barcodes.

Try imagining our modern world without them. It just wouldn't be the same. So, why aren't you using them whenever and wherever you can within FileMaker. Put a barcode on everything. Add them to your documents and scan them to load a specific record. Put them on your assets, add them to your employee badges, go crazy.

While FileMaker offers the very convenient Insert from Device script step for scanning barcodes within FileMaker Go, there's no native implementation for creating barcodes. Over the years, many developers have solved the issue of barcodes in many different ways. You can find plug-ins, simple fonts, FileMaker add-ons (which can be frustrating to modify) and straight-up Custom Functions which will create a barcode. By far, the most straight-forward implementation is going to be the easiest to manage and maintain and, in my opinion, that's using a simple JavaScript library which will create the most optimized format possible - an SVG. That's what this video addresses. The cleanest implementation I can think of. It's both portable and minimalistic. Need to create barcodes? You'll learn all the details in this video.

Tags:
AttachmentSize
Barcodes.zip154.77 KB

Record Looping with JS

The world of JavaScript libraries is so rich and full that once you start using some of them you start to ask yourself "Should I even try this natively with FileMaker?" When it comes to something like QR codes we don't even have a native option to create them. Currently, there's no GenerateBarcode() function.

There's also the situation where you're using one of these fabulous JavaScript Libraries and you want to loop through a found set of records. The problem is... — You try to use your new cool JavaScript library on a range of records. Creating a QR code for a collection of records. Just a few hundred or a few thousand is all you need.

There's a few problems with this situation however. One of them is that you MUST know how the FileMaker.PerformScript() function behaves within a Web Viewer. If it's not ready to go, then you'll get an error (which you can't even see unless you use a JavaScript debugger). The second issue is that FileMaker will simply stack any script calls until you get to the last record of a record loop and then execute them all on the last record. This is why you need to know the two critical things which must be set for successful loop based JavaScript use with a web viewer. Fortunately, we'll walk you through these critical issues and show you everything you need to keep in mind for using JavaScript, a Web Viewer and a Record Loop.

Tags:
AttachmentSize
QRCodes.zip115.11 KB

Securing QR Barcodes

Pretty much all over the world you'll find technology which can scan barcodes. Smartphones with cameras just waiting to scan either their very first, or even their 1000th barcode scan. With just over a decade since the first iPhone came out, it's pretty hard to not find a use case where a barcode can help you retire some antiquated manual process. Barcodes can be used almost anywhere to make faster and/or easier solutions.

Given that FileMaker Go supports all major barcode types, you simply need a method for creating your own barcodes within FileMaker. In 2017 I created an article about using a free JavaScript library called QRious and in this article I bring you an updated implementation plus a new library with the inclusion of how you can secure your own barcode content.

If you're ever in the need of making sure that the barcode you're scanning has originated from your FileMaker solution then you'll find the know-how you need within this video and the associated file. The additional JavaScript library I've discovered is also a great enhancement if you need vector based barcodes with support for unicode characters which are not supported by QRious. Need anything to do with QR barcodes? Check this video out!

Tags:
AttachmentSize
Securing_QR_Barcodes.zip1.73 MB

Generating SVG Barcodes

While barcodes have been around for decades, and we all know how fundamental they are to everyday life, it doesn't mean your last implementation is still the best way to integrate them. Technology is always changing and it's moving forward while new technologies replace older ones. A barcode which used to be in JPEG format can now be in the scalable SVG format.

In this video, I walk through the use of a JavaScript library which allows for the easy creation of SVG barcodes. This works without a specific font and allows for a scalable file which can be integrated into a PDF or any other type of output. Need barcode support on FileMaker Go on iOS? Need to generate barcodes client side on either Mac or Windows?

If you're building a solution which needs to use barcodes, and you're looking for the least expensive option, then you can't get much better than a commercially free JavaScript library. All it takes is a little bit of know-how and you're creating barcodes in very little time!

Tags:
SVG
AttachmentSize
SVGBarcodes.zip1.61 MB

QR Code Login Systems

When QR codes started gaining traction, the world’s developers were full of ideas about how they could be used. Large real-world multi-player games were even created and they started showing up on all kinds of packaging, products and marketing.

It was thought that the world would communicate via their mobile devices and go scan crazy when it came to QR codes.

The reality, however, was that while they are used quite a bit within industry and in many different ways, their general use is still somewhat lackluster.

Regardless, however, of how the general public feels about QR codes, we can take full advantage of them within our own FileMaker solutions. When you think a bit creatively, and you use knowledge about cryptographic hashing recently released within FileMaker 13, you can devise some pretty useful systems for interaction amongst groups of people.

In this video, I showcase a system being put in place for helping people to register for events or even log into FileMaker systems in order to update their personal information. With the content shown in this video, the sky’s the limit in terms of how you start to use QR codes in your own FileMaker solutions!

Tags:
AttachmentSize
QRLoginSystem.zip311.86 KB