Back to workVue + FileMaker

Production Module

A schema-driven editor for the production steps on a print job, rebuilt so FileMaker defines each step’s fields as JSON instead of every step being its own hand-written Vue component.

VueFileMakerSchema-Driven UI
Overview

A commercial printer plans every job in FileMaker as a list of production steps, from prepress and printing to cutting, lamination, finishing and shipping. The production module is the Vue app inside a FileMaker web viewer where staff add, remove, reorder and fill in those steps on a docket, quote, work order or product. I built the first version, then rebuilt it so FileMaker sends a JSON schema for each step and one renderer draws them all.

01

Problem

In the first version, every step type was its own hand-written component, more than twenty of them, chosen by a long chain of checks on the step’s name. Adding a field or changing a label meant editing a component and redeploying, and adding a new step meant writing another component and wiring it into the app.

02

Approach

Replaced the per-step components with one renderer driven by a schema for each step type, authored in FileMaker and sent with the rest of the job’s data. A schema lists each field’s type, label, layout, where its options come from and when it shows. Steps with real business logic use a small behavior registry, and widgets with their own local state are registered as custom fields, so neither breaks the one-renderer model. Saved data keeps the exact shape FileMaker already stored, so its scripts didn’t have to change.

03

Result

Fifteen step types, from foil and trim to die-cutting and printing, now render from FileMaker-authored schemas. Changing a step’s fields, labels, options or visibility is now done in FileMaker, without a web deploy.

Screens

My role

I built both versions of the module on my own: the original component-per-step app, and the schema-driven rebuild with its schema contract, renderer and registries.

What the module does

  • One module, four places: the same module opens from a docket, quote, work order or product and adapts to each, changing which steps can be added, which fields appear, which FileMaker scripts it calls and its accent color.
  • Add, reorder and remove: steps sit in an accordion and move up or down, with a colored dot per step in the header showing which one is active. Removing a step asks for confirmation first.
  • Step forms: text, selects, multi-selects, radios, checkboxes and dates, laid out in labeled rows that read like the job ticket.
  • Pickers that fill things in: the die-cut picker filters the die catalog by use, shape, size and hole positions and fills in the die’s details, the stock picker fills in sheet size and weight, and finishing options group into a tree with notes for each choice.
  • Smaller screens: the layout was reworked to work on mobile.

The schema

  • Fields and layout: each field names its type, its label, the saved slot it writes to and an optional row, so related fields sit side by side or stack under a shared label.
  • Visibility rules: a field can show or hide based on another field’s value, on where the module was opened from, or on combinations of both, and a row with nothing visible drops out.
  • Option sources: a field’s choices can be listed in the schema, read from lists FileMaker sends, such as trim sizes, or produced by a named function, so most option changes need no code.
  • Escape hatches: logic that updates other fields, like splitting a chosen trim size into width and height, lives in a behavior registry the schema points to. Widgets that need their own state, like the die-cut filter panel, are custom fields the schema can place.
  • Same saved data: fields map onto the slots FileMaker already used, so existing jobs load unchanged and the save scripts stayed the same.
  • Bad schemas fail safely: schemas are validated when they arrive, and a malformed one shows a warning instead of stopping the module from loading.

Saving back to FileMaker

  • Only what changed: each step tracks whether the user actually edited it, and every save sends the full list alongside just the edited steps. Nothing the module does while loading marks a step as edited, so FileMaker is never told the whole list changed when it didn’t.
  • Nothing lost: everything is saved before control goes back to FileMaker, whether closing, switching views or adding a step, and a product window saves on its own when it loses focus.
  • Order only when it moved: the new sort order is sent only once steps have actually been added, removed or reordered.
  • Clean stock names: the stock dropdown shows each stock’s name, size, thickness and type but saves only the bare name FileMaker expects. Before, a picked stock was written back with that extra detail, which also broke the sheet size and weight lookup.


© 2026 Grant Gonzalez

Built with FileMaker & the web in mind