Native Agentic Coding in FileMaker is here
Artificial Intelligence (AI) is causing a landslide in the ways we work with FileMaker. It will change products, services and customer expectations beyond recognition. As a result, we will also start to change the offerings on this website.
How to get results?
While FileMaker makes it rather simple to start managing your business or projects, it can become tricky to get all details right. The way you set up your files, maintain project structures and many other issues took and take experience to make it work. Experience however is changing. With the arrival of native agentic FileMaker development, many issues can be covered by a connected AI, in collaboration with FileMaker directly.
Thus, the way you get results is changing. How you get solid results is changing along with it. Agentic development is like having a well-versed colleague working alongside you. Your tasks change from “getting all the technical details right” to “guiding and structuring the outcome”.
By these changes, it will become even more important to understand where your strengths are and what is requested from you to get the result you want. This is changing the way you understand your task, will influence your experience and require an entire new set of skills. That’s all good.
What will change on this website?
Product approaches from the past two decades will no longer be valid the same way they were in the past. Probably each product should evolve to become more of a tool than a solution, a starting point rather than an end point.
Business logic is highly specific. No AI can get there without your help and understanding. The way you want solutions to offer workflows usually has a substantial background in experience. To make solutions work need that experience, even if details now can more easily be sorted out by AI.
As a result, the offerings on this site will change. Products will need to change, the approach will need to change. What is the value of articles explaining FileMaker basics in the time of AI? Why create sample files if AI can generate these in various ways? Probably the issue is no longer to “create something”, but “to create something better”.
It is ridiculously simple to create a modern interface in a web viewer in FileMaker, with the help of AI. Here is the question: Will you change the look-and-feel yourself or with the help of AI? Becoming dependent on AI is something else as using it as a tool. Thus, if the goal is set and reached by AI, who is working on the details? These are choices to be made.
“Let’s go exploring!” (Last comic of Calvin and Hobbes: Link)
Naming conventions in FileMaker
Are there any naming conventions for FileMaker? No, there aren’t. Could something like a naming convention be helpful? Yes, of course it can. This article shows some ways to think about naming conventions for FileMaker.
Naming conventions are ideas about how you name tables, fields, scripts and just about any other element in FileMaker. What you use might be what you learned, or what you discovered as working best for your purposes. Having a strategic approach to the freedom you have in FileMaker might give you some advantages for your work. Probably that is the pragmatic way of looking at it: See how naming conventions help you (and others involved) work better.
Consider the name of a table: Addresses. That name gives, by its very naming, a clue about its content. Typical fields of that table might be: Street, Street number, ZIP code, city, and country. Each of those fields clearly indicates its usage. This transparency is quite helpful. It also is a choice. As a choice, it can become a rule: “This is how I do it.”
To improve on clear basic names, some developers came up with their own set of rules on how to define them. FileMaker does not tell you what to do and will work almost with anything. Thus, the main issue for creating your own naming convention lies in a simplification of your daily tasks. It’s a preference. Naming conventions are more about you and your working style than about FileMaker.
Why do naming conventions make sense?
If you are setting out to work with FileMaker, you probably have some ideas about some areas and no idea about other specifics. Everyone faces these challenges. A bit of trial and error might help you land on the sweet spot for you. The ideas mentioned below are simply pointers. Some might make sense to you, others not. As there are no rules, you might want to consider what you want to achieve. Simplicity comes in many forms and different requirements for different situations.
It might be an idea to consider fields, tables and other elements to appear in lists. When your personal naming aims for an easy finding, you might take care about alphanumerical sort orders. Let’s say you have tables “Sales” and “Sales_ItemLines”, both are listed under “Sales”. Whether you want an underscore “_” to separate the first and second halves of the naming is up to you. You can just leave the underscore out and do something else. Keep, for example, a CamelCase style of naming, starting each new word with a capital letter and no spaces (“SalesItemLines”). Do whatever you find helpful consistently. This will simplify your development.
Alphanumerical sorting in mind
When creating a new table in FileMaker, it will automatically add a layout with that table in the background and might as well add it to the relational graph. Here is the difference between a table and a table occurrence: In the Relationship graph (under > File > Manage > Database > Relationships), each database has at least a single occurrence. Layouts are (and must be) based on a table occurrence. Any table occurrence in the relationship graph is a visual representation of a table, with a name and a list of all fields for the selected table. However, within the same relationship graph, you can add multiple table occurrences for the same table. That might be very helpful and is used, for example, to create different relationships between tables.
The first table added to the relationship graph has the name of the table. Names of table occurrences must be unique. Naming them with a strategy in mind can help keeping everything simple.
The screenshot above shows a single script step, where you want to go to a related record. In the screenshot, there is a popup menu to select related tables behind the text “Get related record from”. The list is a complete list of all available relationships, alphabetically sorted.
For this, you need additional table occurrences, which are linked by relationships. The popup shows a long list of connections. Note the naming used here. Each line represents a different connection and relationship. It always uses the original table first, then an underscore, followed by the target table. That is not a rule but just how I do it. You might take it as a suggestion or choose another path.
Behind this approach is a simple goal: this kind of setup helps to create clarity when sorting alphabetically, as is automatically applied in FileMaker. I have other developers seen doing this and happily adapted this myself, as I understood I was quite chaotic before. This approach has served me well ever since.
Tables
A basic useful thing is to use clear names, which indicate the usage of a table or field. As there are multiple ways of creating, let’s say, a sales solution, you will find that some developers prefer a separate table for each type of sales document. Thus, you end up with multiple tables for “Offers”, “Confirmations”, “Packing slips”, “Delivery Notes”, “Invoices”, “Credit Notes” etc. Or, alternatively, you can create a single table for all types, adding a flag to denote which type it is. This last case wants a more generic name for the table. It might be simply called “Sales”, as it would be misleading to call it “Invoices”.
Yet, other people prefer using the full name of a table only for its first and primary occurrence in the Relationship graph, like “Addresses”. For additional table occurrences, acronyms of the original table are used instead. This is with the aim of shorting names or being able to calculate the needed relationship more easily. Example: Four-letter acronyms might be just the first four letters of any table name, like “ADDR” for the table Addresses, “CONT” for the table Contacts and so on. A downside for this approach is probably that you need a list of acronyms and their meanings or a system explaining them. That adds complexity to a solution.
Suggestions by AI
Many developers work with AI already. Large LLMs are trained with available resources. That also means that certain practices pop up more frequently than others. It is a result of “average results” across a large dataset. What I noticed, for example, is the use of field names starting with “pk_” or “sk_” for Primary Key and Secondary Key. More to that further down below. In Let-functions, the “i” frequently appears as a short placeholder. These are both things I have frequently seen in the work of other developers. Bearing that in mind, you can easily see that AI picks certain strategies it found. These need not be your strategies. Let’s take a look at the naming of field names.
Field names
Looking at different approaches by different developers, you will see many variations. Most developers use some kind of naming convention they created for themselves. In earlier versions of FileMaker, it might have been a help to include a prefix or suffix explaining what type of field you work with. Today, in calculations, each field type has its own icon. See screenshot below. There is probably no more need to include the field type with a denominator in the name.
More about field naming at the Claris website:
Primary and Secondary Keys
It is highly advisable to have a unique identifier for each record of any table. That you call the primary key. It is usually a dedicated field in the table, which automatically creates a unique identifier for each record. In the relationship graph, you can link fields from different tables by a simple drag-and-drop. Thus, you can create a relationship. That is done by creating a secondary key field in the target table.
As an example: Creating a relationship from the “Addresses” table to the “Contacts” table needs a Secondary Key field in the “Contacts” table which can inherit the Primary Key from any record in the table “Addresses”. By copying the primary key value of a specific address to the corresponding secondary key field in the table “Contacts” will establish a valid and unique relationship.
I found that quite a few suggestions by AI led to a naming of these fields with a prefix “pk_” for Primary Keys and “sk_” for Secondary Keys. I assume this is what the training of the LLM resulted in. It is quite a popular and widely used approach to differentiating primary and secondary keys. There is a benefit to this approach: If you sort fields according to the name of the fields, all keys will automatically be listed alongside their own kind. Its downside is that it expands complexity with extra characters in the naming.
An alternative approach
The naming of primary and secondary keys complicated things by naming conventions. I wanted to get rid of some complexity and realized I could use any convention I made up myself. Here is what I did:
Each table has a unique primary key. Instead of enhancing the name, I simplified the name back to “ID” only. Each table has a field like that, which is referred to in calculations like:
(TableName)::ID
That setup is clear for the original table. It is a simple way of naming a primary key. Secondary keys usually refer to another table’s ID. If we consider the latest situation with Addresses and Contacts in two separate tables, each of them has a field, used as Primary Key and each with the same name “ID”. Creating a unique relationship from “Addresses” to “Contacts” requires a secondary key in the table “Contacts”, referring back to the ID field in the table “Addresses”.
I added the secondary key to the Contacts table and called it “AddressID”. That appears simple to me. When sorting alphabetically, I can now see AddressID alongside other fields in Contacts, starting with “Address”. Or, I could reverse the order to “IdAddress” and automatically enable sorting by “Id…”. Wherever “ID” appears alone, it is a primary key and can only refer to the table you are currently in, while combinations are always secondary keys connecting to other tables and records. This approach was more fitting to me and I used it for many years.
Relationships
Table occurrences in the Relationship graph must be named uniquely. As multiple occurrences of the same table can appear, it can be useful to explain the usage in the name.
For example: Connect two tables “Addresses” and “Contacts”, while using the “ID” of Addresses to connected to one or more contacts belonging to that address. The connection can be named like this:
Addresses_Contacts
To add more information, one can add the criterion used for the specific task. For example:
Addresses_Contacts|AddressID
The first part had the starting table, then the related table. Then comes a pipe character “|”, after which the criterion is listed. In this example, the “AddressID” shows the relationship is made based on the Addresses::ID field from the Addresses table. Here is a screenshot of an alphanumerical list of relationships:
The screenshot above neatly shows a list to select a field from a related table. In a first step, you choose the relationship. The available relationships are sorted alphanumerically according to their name. As the names list the criterion used for the connection, it is much easier to select the appropriate relationship for your purpose.
Global fields
I do not use any prefixes or suffixes for field naming. However, there is one exception. That is because of global fields. Global fields have a single value across all records. They also can be read or written from any location in FileMaker and do not depend on a relationship. That makes these fields unique. These are the only fields that I refer to with a prefix “g”. Nothing more. I instantly find a field I can refer to immediately and from anywhere.
There is another reason I distinguish a global field with a “g” as suffix. I frequently back up settings in a single-record table. The user sees and uses the global fields. A backup is saved into a single record of that same table. To read and save the values to and from a global field, I need it to stand out. Thus, settings tables frequently have two fields next to each other, like:
- ThisSetting, regular field for backup
- gThisSetting, global field for reference.
The difference in naming is the “g”, which stands for “global”. The rest of the name is the same, making it obvious what is saved to where and vice versa.
Final thoughts
This article is not a naming convention. It is not conclusive in any way. This is just about sharing some thoughts I would have appreciated myself when starting out with FileMaker. Let’s say you are meeting other developers. Ask them how they handle naming conventions. It might be a valuable insight.
This is a summary of my personal approach:
- Use clear naming and avoid acronyms (this helps other people looking at the solution)-
- Simplify Primary and Secondary Keys.
- Don’t use extensive rule sets. Keep it simple.
- Make naming logical for display in an alphabetically sorted list.
- Mark relationships with a clear start and endpoint, as well as the criterion used for the connection.
What is your preferred method for naming elements in FileMaker? Where do they differ from mine? Why is that so? Is there anything you can pick up from this approach?
The ideas from this article are used in our Starter Files.
Organizing scripts in FileMaker
FileMaker stores your data in fields and tables. If you want to do something with that information, like printing a report or anything else, you use scripts. Scripts are automations you run for specific purposes. Over time these scripts can pile up. How can you organize scripts and keep everything as simple as possible?
The first thing to state here is that there are many ways to handle scripts. There is no single best method. Yet, what I describe here has proven to be quite usable over time. It is experience and you can play with the suggestions to find your own best method.
Different styles of organizing
People are different, experience differs and there are logically many ways to handle scripts. Usually, you start by creating your first script, then a second one, a third one and so on. You end up with a long list of scripts. Here are some ways to cope with many scripts:
- Go with the flow. Let there be chaos. I don’t care.
- Use subdividers and/or folders to create a grouping of scripts.
- Use numbering of scripts to create a “logic” you can refer to.
One also could argue that the number of scripts can become a burden. I have seen and created solutions with hundreds of scripts. The organization of these scripts becomes essential to understanding the solution, solving questions, fixing bugs, and enhancing the functionality. The sheer number of scripts can be reduced by several methods:
- Create dynamic scripts, which work with parameters to do different things
Like: a single navigation script, which gets the name of the target layout as a script parameter.
- Combine different functions in a single script by using script parameters and IF-contexts.
Like: {IF script parameter = “A”, “do This”; else “do That”}.
The use of script parameters opens up many options. This is not a system by itself but a way to approach the complexity of many scripts.
Define the purpose of scripts
FileMaker does not define the purpose of scripts, how many there are, or how you should structure them. That is all up to you. Therefore, it is helpful to give the purpose of scripts some more thoughts. Deliberately understanding and using scripts for specific purposes helps to structure them.
Over time I learned to differentiate scripts for two purposes:
- Simple scripts to perform basic tasks on current tables and layouts.
- Workflows to combine complex tasks across multiple tables and layouts.
This differentiation is helpful to reduce redundancies. Simple scripts can, for example, create, print, find and show data from a certain page or table. Workflows can use these simple scripts during more complex operations.
Basic script
If [ Get ( ScriptParameter ) = “new record” ]
New Record/Request
Set Field [ Untitled::date ; Get ( CurrentDate ) ]
Go to Field [ Select/perform ; Untitled::text ]
End If
This works if you already are on a layout with the appropriate table. For a more complex workflow, where you even might be on a different layout and table, you can still refer to that script, but with a little extra help.
Workflow
If [ Get ( ScriptParameter ) = “run workflow” ]
Go to Layout [ “Basic table” ; Animation: None ]
Perform Script [ “basic script” ; Specified: From list ; Parameter: “new record” ]
End If
These are concepts, not ready-made solutions. As ideas, they must prove themselves in more complex situations. As to what these things do: I can change basic scripts, and the renewed functionality is automatically used by more complex workflows. Therefore, it makes sense to me to keep basics and workflows separated, while workflows might refer to basic scripts (and usually do).
Modular approach
When thinking about scripts, one might consider a modular approach. That is, keep parts of an application focused within themselves, as far as possible. Though there is no specific concept of “modules” within FileMaker, think of logical entities like “Addresses”, “Projects” or “Sales Documents”. Anything that refers to a certain environment could be saved within a folder for that environment. Logically, groups are defined by tables and (frequently) layouts. Now organize scripts similarly. Grouping of scripts according to modules is sensible. It reduces the complexity of scripts by limiting basic scripts to certain environments. That is why basic scripts are truly “basic”. Only “workflow” scripts would venture out and combine things from multiple environments.
- As far as possible, limit yourself to one environment at a time.
- Keep things neat and clean (KISS principle: “Keep it simple stupid”, or “Keep it simple sustainable”).
- Shorter scripts are easier to maintain.
- Linking scripts to modules or function blocks is easier to understand, maintain and enhance.
- Name scripts according to their module and function.
Layout approach
For myself, the modular approach proved itself well, but I wanted to further simplify things. That is where I realized that basic scripts could be limited to single layouts. In FileMaker, each layout must have a table assigned. Why not create scripts on a “per layout” base? There are several advantages to this approach:
- Easy to find. If you are on a “Sales Details” layout, you just might find a script with the same name for anything on that layout.
- Limited in scope and thus easier to maintain.
- Basic functionality within that layout.
This is the method I use most today: basic scripts are per layout, while more complex workflows are handled separately. This is not rigid. It might be that on a single layout specific tasks can be quite elaborate and thus deserve their own extra script. Still, however, this extra script can be linked to a specific layout. Think, for example, of several printing options within a specific layout. It might be worthwhile considering a specific script for output options.
Combining scripts
Plenty of FileMaker applications I was privileged to look at had many scripts. Frequently, I noticed, there were loads of tiny scripts, each several lines only. There is nothing wrong with that approach, but the number of scripts can get extreme. How to cut down on scripts?
As I turned towards the concept of “scripts per layout”, as explained just before, I had a need for many smaller scripts, all for a single layout. That is precisely why many applications have small scripts, but multitudes of them. Today, I combine these smaller functions into a single script. That script has multiple purposes, not just a single purpose. To make a script more versatile, one can use script parameters when calling the script. You define both the script plus the function by using a parameter.
In the script, you build a series of IF-contexts. Each IF-request can have a specific parameter attached. When calling the script with that parameter, only the IF-context with that parameter will be executed. Multiple contexts with different parameters thus provide, within a single script, multiple purposes.
Multipurpose scripts
If [ Get ( ScriptParameter ) = “A” ]
Perform Option A
End If
If [ Get ( ScriptParameter ) = “B” ]
Perform Option B
End If
If [ Get ( ScriptParameter ) = “C” ]
Perform Option C
End If
Three options are mentioned. They are all within the same script. Only a single option will be executed at once, and only when an available parameter has been handed over when calling the script.
A multipurpose script has several advantages:
- Reduce the number of scripts.
- Group small functions logically (in a single script, attached to a layout, for example).
- When using an IF-context consistently, these scripts will do nothing except if called with a parameter (= enhanced security).
Workflow scripts
Think of workflow scripts as complex tasks beyond some basics as “new record”, “delete record”, “print record” and other similar options. A workflow can create a report while gathering information from several tables and layouts. Thus, a workflow has multiple steps involved. That predefined workflow is what the script is about. It helps to solve more complex tasks with a single starting point, like building a part list, creating an email with an attachment, sending out a reminder for a payment and updating the reminder level. Things like that. Repetitive tasks with more complexity are perfect for this category of scripts.
Organizing scripts
We looked into several aspects of creating and organizing scripts within themselves. These were concepts only. Much more can be said, but nothing matters as much as your experience with your projects. This also is the approach I take with our starter files.
Working with AI
FileMaker developers increasingly work with AI tools. If you trust AI to do whatever it thinks is best, it can get messy. Therefore, project rules can be established. If you aim at easy readability, even if no AI is available, you could describe the preferred way to set up and write scripts. That can be something similar to this article or entirely different.
Think of scripts that are performed on a FileMaker server. That server works like a blackbox for any script. It is challenging to track what exactly is happening. Developers found multiple ways to define scripts in such a way as to provide feedback on the process «from within the blackbox of the server». When working with AI, similar care must be taken to improve the script for yourself or anyone else reading it later.
Agentic coding is coming to FileMaker natively
What is happening today is fascinating. AI is causing a landslide for the way people develop software. AI-driven models elevate almost any process. Agentic development is coming to FileMaker natively.
Most astonishingly, Artificial Intelligence (AI) already is available and an increasing number of FileMaker developers use AI one way or another. Tools appear to make the process simpler. Claris announced agentic development will be brought into FileMaker directly. Check the following page on claris.com. On the same page you can subscribe to a newsletter to be specifically informed about upcoming AI-integrations.
On the horizon
What Claris has already been showing and telling in their community talks:
- Integration of main AI systems (Claude, Codex and others).
- Every aspect of FileMaker will be accessible by AI: tables, fields, schemes, scripts, layouts and anything else.
- Think of these tasks: developing, bug-fixing, creating dashboards, reports, layouts or even creating solutions from scratch.
- All directly from within FileMaker. By the end of 2026 it is expected to roll out.
- This is not about a specific feature but rather about a direction of thought and FileMaker integration.
Why is this fascinating? It will profoundly change the way developers work. While some developers embrace new technologies, others are slower to adapt or refrain from using it. Whoever you are and whereever you stand, things will change. Those embracing AI with the help of new tools already will get native tools. Those refraining from using any of it will get native support to make it simpler to use.
A changing job profile
In a not too distant future, basics will probably be cared for by AI. Complex scripts can be handled with ease. Your task as a developer will start to be different. Everyone needs to find a different approach.
- What AI most likely will do better or quicker than you: Find the details, the bugs, alternative ways, write a script.
- What AI cannot do is to understand the goal of your project. It needs guidance. You are the guide.
You understand the business and the project. AI is a tool to achieve the goals. The tool you get is so powerful that some tasks no longer need to be in your focus. You can shift the focus of AI to these tasks or ask it to support and enhance your skills in a certain direction.
Next steps
Claris encourages developers to start learning about AI and how to use it. Resources are available here:
The most difficult thing for developers
Developing can be quite complex. It involves systems, logic, dealing with desired and unwanted outcomes, and much more. Those challenges make it interesting. If you love challenges, you probably like being a developer.
There is a quote, which I particularly like:
“I think most programmers spend the first 5 years of their career mastering complexity and the rest of their lives learning simplicity.”
Buzz Andersen
According to this insight of a developer, most time of your career would you be spending on learning simplicity. Whether you feel that to be true or not, or applicable to your situation at all, there is a lesson to be learned.
Master the details
Consider creating a software solution to do certain things. You master the details, the complexity. Everything runs well. That is, for the moment. Now try to explain the working to another developer or pick up the software after a year. Most likely, the original and working solution does not seem to be that simple anymore. This is following the rule that writing code is easier than reading code.
Clearing the path ahead
That latest observation can serve as an anchor for future development. Once you realize that a working solution usually isn’t as simple as it probably could be, awareness starts to change. This consideration might change how you create future updates or new solutions. In this process you most likely will try to improve the work you did before. Simplifying a previous approach is one of these things.
Simplifying things is most likely a main challenge of your career. The challenge is not “complexity” if you are good at handling that. It is the simplification. Instead of simplification, think of related concepts, like simplicity for upgrades, enhancements, and reductions. You also might think of how you structure scripts, handle errors, and improve on design and accessibility for the user. All of these issues can be realized in various ways. Here is the specific question to ask yourself: How can this particular process be simplified?
Whatever it is, clearing the path ahead, to my understanding, is a process of simplification, not conquering the technical complexity only. Some benefits of simplifications are the following:
- More stable structure
- Easier to update and maintain (sustainability)
- Easier to enhance or configure
- Less support needed
- After the initial investment: cheaper to handle (result of previous points).
Develop the developer first
Simplifying is hard and requires both experience and conceptual thinking. It therefore isn’t a straightforward process. It grows over time. The developer always develops himself before he can improve on any project or approach. It is a two-step simplification, by first learning what you need, get an idea and resolution, then proving the idea in an update or new product. Over time, your solutions will become both more sophisticated and less complex at the same time. That is, where experience and real thought pay off.
What holds developers back from improving existing solutions? Frequently it is the paycheck. If a customer does not want to pay for improvements, they usually do not happen. The tricky question is here: If no customer pays you for improving, will you improve yourself nevertheless? And if so, how do you do that? Simple is beautiful. Simpler is usually more beautiful, more sustainable, and more future-proof. How to achieve that quality?
Understanding FileMaker Custom Functions
FileMaker Custom Functions are something you can create as a solution for a repeating issue. Once created, you can easily integrate custom functions into other projects by simply importing from another file. Let’s talk about how to create a custom function.
Accessing Custom Functions
Custom functions are stored in FileMaker files. You must have an open file to be able to access custom functions in the menu > File > Manage > Custom Functions:
Once you access the Custom Functions, a Custom Functions window is presented with all currently available custom functions in that specific file. The screenshot below is an empty window, as the file was newly created and has no custom functions yet.
Custom functions can be used in scripts or in single script steps like “Set Field”, just as you would use regular functions in scripts or script steps.
Considering Custom Functions
Custom Functions are functions, just like script steps are functions. However, script steps cannot do everything you probably need. While scripts can cover much of the functionality, you might want to consider writing your own custom function for that purpose. Here are some reasons you might want to do that:
- Custom Functions are simple in concept: define an input, create some logic, and serve an output.
- Custom Functions do not depend on tables, layouts, or scripts.
- Custom Functions are perfect to simplify repeating tasks.
- Custom Functions can easily be shared among solutions.
Custom functions can do some of the heavy lifting as part of a script. That need not be complex. Custom functions can be basic. To explain custom functions, we start with the simplest of ideas and then gradually build more demanding solutions.

Example 1: Simplest version
Here is a simple approach: create a new custom function in the window mentioned above. There are a few things to do:
- Give the custom function a new name. I call it “TransformText”.
- Add a new parameter. I call it “Input”. The click on + to add the parameter to the list of parameters
- Add the logic. I want to transform the text style of that input to ALL CAPS. I use an available function to do that, which needs the definition “Uppercase”.
The screen now might look like this:
The custom function is ready. While this is probably nothing you would ever create for yourself, and you might question my sanity for providing such a basic function, it serves a single purpose: to explain the concept. It is not about being fancy but about enabling you to understand its workings so that you can start using it yourself.
In the background I have my sample file, where I created two global fields called gInput and gOutput. What I want to do is to type something in the field Input, then click a button which will then use the custom function to create an output that is written into the field Output. The result looks like this:
This simple example highlights the three components needed to create a custom function:
- Input
- Calculation
- Output.
How to up your game
Custom functions can be enhanced easily. The limits are only set by your imagination. From a single parameter, you can go to multiple parameters and from a single calculation line to complex settings. In daily tasks, custom functions are used to create consistent results in a simplified way.
Multiple parameters can be useful if you have stored settings in a field. You can refer to settings and let your custom function handle the differences in calculation. Calculations can evaluate settings with IF-contexts or WHILE-functions. Just anything that would work in a script calculation can be applied to a custom function.
Once you have tested the custom function and the results are rock-solid, you can simply rely on its working. Let’s get into a slightly more complex calculation.
Example 2: How to upgrade the calculation
A slightly more complex example is this one: Let’s figure out on what weekday the first of the next month is falling. You can do that by a script, but if you want to reuse such a function, a custom function is probably simpler.
The function Get ( CurrentDate ) will return the current date. It consists of 3 parts, Day, Month and Year. Each of those can be extracted with DAY ( Get ( CurrentDate )), MONTH ( Get ( CurrentDate )) and YEAR ( Get ( CurrentDate )). This will return the respective numbers for the day of the month, the month of the year, and the year with 4 digits.
I have added fields for the Date, the Day, Month and Year to the table. The 2nd example layout presents it like:
The next month would be the current month + 1. The first day of that month would be 1. The year initially would be the same, unless the current month is 12, in which case the next month would become 1 again and the year would be upgraded by 1 as well. Now you can start creating the custom function. Within the custom function, you do not need any field, but probably the DateField can be referenced. The rest can be calculated directly within the custom function. We can call the custom function: FirstDayOfTheMonth. As a parameter you can create ThisDate as input.
The simplest approach is to calculate the result directly from within a new Date function. Within that function, the month is upgraded with 1, which automatically will move the entire formula to the next year if needed (due to FileMaker functionality, no need to enhance).
Date ( Month ( ThisDate ) + 1 ; 1 ; Year ( ThisDate ) )
This example uses the date formatting for the US. It works, but be mindful about interpretations within calculations, text, etc. There is another article addressing date issues worldwide:
In the following screenshot and in the example file, I use the basic custom function to create a more differentiated feedback. Check the scriptstep for the button “First Day Of Following Month” below.
This second example is slightly more complex, and dates should be handled with care in FileMaker. We are now coming to the third and last example, where the task is seemingly simple: reverse the characters of the entered word or phrase. This is something I stumbled across when using layout software that did not support right-to-left writing.
What happened? When pasting text, the software reversed the order of characters for any words and phrases written in a right-to-left language. It simply reversed the order of the characters when pasting the text. How to deal with that? As the layout software did not support proper typesetting for certain languages, I had to find a solution to reverse the reversing. I needed a simple tool. FileMaker to the rescue! Create a custom function that helps to reverse the characters of any text string.
These and other scenarios can benefit from simple custom functions.
Example 3: Reverse the characters of a string
We create a new custom function with the name: “ReverseCharacters”. As a parameter, we need a text input. We call that parameter: “TextInput”. Recursive functions are well possible within FileMaker. Using a custom function simplifies an application. Here is a version using the While-context:
While (
[ result = “” ; i = 1 ; n = Length ( TextInput ) ] ; // the initial variables
i ≤ n ; // condition to check
[ result = Middle ( TextInput ; i ; 1 ) & result ; i = i + 1 ] ; // calculation and loop
result // at the end. output when the condition no longer applies
)
This third example is a bit more technical. Please refer to the sample file to see how it is done.
Resources
Custom functions have been around for a very long time. As a result, many developers used them and shared their tools and insights. If you want to learn more, you can also search for solutions on the web. A great resource is the Custom Functions Library maintained by Brian Dunning. You will find tons of solutions by many developers. At the time I write this article, there are over 2600 functions available. All are easy to integrate and frequently there are different takes on similar subjects. Have a look:
Custom Functions and AI
Finally, custom functions today are easy to develop with AI. While much of FileMaker’s functionality is hidden from the developer or linked to tables and layouts, custom functions do not have these restrictions. They work independently from restrictions, and thus all the logic is just a text. That is a perfect starting point for exploration with AI.
Describe to AI what you need, that you need it as a FileMaker custom function, and it will work this out for you. This simplifies a lot of the work. Also, as custom functions are easily updated by simply copying and pasting from a chatbot directly into the calculation field of a custom function, it hardly can be beaten in simplicity. If you hesitate to work with AI, give this a go.

How to create FileMaker custom functions? The article and accompanying sample file help you to get started.
Minimal requirements: FileMaker Pro 20.
FileMaker Design Basics
Every FileMaker developer has to deal with design questions. In FileMaker, every interface detail, every layout, is based on a table. Creating a function without a layout eventually will need a button or something like that to start that function. As FileMaker offers both logical components and visual elements, it is probably not enough to be a good engineer only. You need design skills.
What’s an interface?
You might be an engineer, and that’s what you are good at. Your customer is not interested in what or how you do something. It only needs to see that “it” works, and it needs an interface to interact with what you created. For the client, the interface frequently is the only thing they see from a development. The engineering might be terrible, but if it works and the interface is great, you will likely have no complaints. However, if your engineering is fabulous, solid, and actually breathtaking, you might be stunned to see the client react to visual details he does not understand.
The interface is the central part you sell to any client. It answers questions like: Can I find what I look for? Is it intuitive? Is there enough information visible, or rather too much of it?
Struggling with design
I saw many developers struggle with the concept of design. Not surprisingly, engineers are good at engineering, while designers are good at design. Rarely do these two overlap in real life. Yet, in FileMaker, both sets of skills are needed, as FileMaker intrinsically links both. You cannot engineer anything in FileMaker without touching the interface. As FileMaker is a low-code platform, it might even attract people who are neither engineers nor designers and see themselves confronted with challenges they never considered before.
Often, the design of a solution gets a backseat during development. That is: Functionality is the first thing to look at. Yet, once the solution is in use, the design probably decides how well the application is received and implemented. If users are struggling with the implementation of the interface, it is just as bad as if something did not work as intended.
FileMaker themes are not design
FileMaker has several tools to implement a design. Specifically, the grid and some layout options, along with the style sheets called themes, are useful tools to create a design. These tools in themselves are not to be confused with a design. They are good helps to implement a design, but using them does not magically create great design.
In German, for example, the FileMaker themes are called “Designs”. That is utter nonsense. They are complex style sheets (“Stilvorlagen”), but nothing beyond that. Applying a theme to a layout does not magically create a fantastic design. That only enables you to style objects with the help of that style sheet. Useful, but using them does not emulate a design degree.
Generally speaking, the job of a designer is different from that of an engineer. To do both tasks requires some learning. Reading books about design, typography, colors, or following some courses might give your understanding a boost. While FileMaker by far does not have the tools of regular design software, it does give you quite usable tools to implement a design of your choice or of something an actual designer created for you.
Now here is the tricky part: creating a good design frequently needs both the engineer and designer. Not everything an engineer can think of will translate well into a design, and not every design choice can be adequately used in a software context.
A good design needs less support, smaller manuals, and frees both users and developers from numerous headaches. Steve Jobs famously said that “design is how it works”. That does not mean that users will think like engineers and are willing to learn to think like an engineer. It is rather the engineer, who not only has to create the functionality but also the user experience by a great design. If that doesn’t come naturally: learn.
FileMaker Design Basics
We just opened a new YouTube channel for FileMaker videos. The first video launched is about FileMaker Design Basics. It will introduce you to some basic thoughts and explain some basic tools in FileMaker to help you create better interfaces.
Learning about Design
There is no trick for good design, just as there is no trick to being a good engineer. Each has a wide array of skills needed for the job. If you want to create music, you need to learn to hear, even in between the notes. The same applies to software interfaces. It is not just about the buttons on a layout or the fields to fill in, but how they interact, knowing where they are useful and where distracting.
Interface design is like typography; it is probably best if not even noticed. Reading a book or using software is the goal. If the user stumbles over bad design, it will slow down reading, or the bad experience can even lead to resisting the book or software. A good design is most likely the critical part for user acceptance.
What makes up good design?
That is a similar question as «What is good music?» Many will point to their favorite artists. By doing that, they explain it is frequently about taste. But good design is not about taste or style but rather about how it performs, what it does to the user, and how it enables you to transport what you engineered for their experience.
What good design is not:
- It is not about taste
- It is not about being pretty
- It is not about excessive use of colors
- It is not applying a FileMaker theme (design and understanding come first).
Good design is relying on:
- Simplicity
- Consistency
- Guiding without explaining
- Location (Orientation in the application).
How do you want to improve your next FileMaker application?
How to create a dynamic navigation in FileMaker
How do you create a navigation in FileMaker? It is easy to place some buttons on a layout or use button bars, but these are usually not very dynamic. Defining buttons or elements of a button bar requires quite a bit of editing. How do you create a better type of navigation, which is simpler to edit and maintain?
There are several ready-made solutions, both free and commercial, available on this website. We get to these at the end of the article. First, let’s talk about concepts.
Concepts for a better navigation
The closest thing to a menu that FileMaker offers is menu bars. Still quite a few developers stick to buttons that are added to the solutions as needed. The issue is clear: while buttons and button bars work, they remain isolated solutions for each page. Dealing with buttons or button bars usually requires editing those elements on multiple pages and for each occurrence. To change that, you have to centralize the editing. That will simplify editing and reduce possible errors. As we are working in FileMaker, centralizing editing is easy by creating a navigation table to manage all navigation items. That would be step one.
Another issue is the simplicity and availability of the navigation. Instead of creating buttons or button bars for each layout and adjusting them, one could imagine a single solution with global application within your app. Global means copy-and-paste. No further adjustments or relationships are needed. Step two would be: globalize.
These are the two main steps you probably want to achieve to simplify your setup:
- Centralize
- Globalize

Ai-generated image.
Centralize
To centralize your data, think of a navigation table. The table would have all the entries of your navigation. In its simplest form, there are two fields: a label field and a target description field. The label has the name as it appears in your menu later, while the target description field either has a name or the internal number of that layout.
It would work like this: You have a menu showing labels, and by clicking on any entry, you trigger a script that routes you to the target layout. That is the idea.
Of course, this is no full solution yet, but a concept one can play with. There are still several ways to achieve this. One of the additional benefits of a navigation table is that it can be enhanced. Think of adding other fields to show or hide entries. Again, in its simplest form, think of a checkbox called “IsActive” with a single value option (value list with the number “1”). If checked, the entry is visible; if not, it is not. You can now sort, find, or exclude entries based on that field. Other options are probably a level of indent to create a hierarchy, group fields to link lower-level entries to higher levels, and allow for collapsing or showing parts of the navigation based on clicking.
Creating all navigation entries in a single table instantly simplifies editing across your app. The next challenge of course is, how to show that navigation.
Globalize
The first dynamic navigation I created was dependent on relationships. I used a navigation table, but there was no global application possible yet. I had to add these relationships to the navigation table as well as to each table occurrence and layout. Though it already was much better than anything I had done before, it still wasn’t a truly global solution. The relationship graph was sprinkled with relationships to display the navigation, as I used the Anchor-Buoy-method. The Selector-Connector-model of relationships would be much more efficient for that scenario.
I still prefer the Anchor-Buoy method for relationships, but wanted to free the navigation from its dependency on relationships. To do so, you need to globalize the concept. FileMaker has global fields and global variables, which function without relationships. Yet, the simplest method is not using any of these.
Card window menu
The easiest way to create an independent and globally usable navigation is by transferring it to a separate layout, which you call by a script as a card window. The way to do it is to create another layout based on the navigation table. Make it a list layout, small and high, showing records in list form. This can be a scrollable list. Now create a button to open a new window with that layout and make it a card window. It will open as a menu. Give it a fixed place by the script you call.
When clicking on an entry, trigger a script that first closes the menu, then routes to the clicked layout. This is simple, and its application is universal. The only drawback is that you need two clicks: one to open the menu and a second click to select an item and navigate to it.
In many solutions, the menu is on the left side and mostly visible. This saves a click. On a FileMaker layout, you can only position a vertical menu on a page that is high enough. That might be OK on a layout for editing a record, but it frequently is less possible on a list layout, as it cannot be shown next to a list. In that case, you opt for a variation as described above, which is accessible through a button.
Learn more about card windows and their options through the link below.
Move the navigation to globals
Still considering a navigation table as the starting point, how can you make that information universally accessible? The solution to that question is to store the information in globals. There are two options: global fields and global variables. While fields are based on a table, variables are not. Both can be set to be global, which means there is only a single value that is accessible from anywhere without the need for relationships.
Global values behave slightly different if you open a file locally or from a server. In a local environment, the global value of a global field is stored in that field. It is good practice to not set a global field to have any values but set the values by a script or script step. That way you can control the content of that field. In a server setting, global fields are ideally set at startup or when needed. Global values persist as long as the session runs and you close the file. Global values or session-based; that is, each user has their own globals.
Now load the navigation table records into a global field or variable. Depending on what you choose, the mode can be different. There is not a single method. Some use JSON to describe a menu and its items; others use strings. A clean way to handle this is to add a field to the navigation table with a running number. Also add a global text field to the navigation table with many repetitions. You can now load each record of the navigation into the repetition with the number from the extra number field. Do not change that number in your navigation table ever, and it can be consistently referenced.
Loading your navigation can now be handled through a script, which loops through the records of your navigation table and writes the information into the global repetition field. This is quick and easy.
Once you have the navigation table loaded into a global field or variable, you can reference it from anywhere in your solution. When using a global repetition field, you can reference the 432nd repetition by
“TableName::FieldName[432]”.
As a merge variable to put on your layout, you can write that as
<<TableName::FieldName[432]>>.
Click on the following button to get to an example of that navigation:
Starter files
If you look for a simple way to start your next FileMaker project, take a look at our starter files. They already have a dynamic navigation included. While this article focuses on the basic concepts behind such a solution, our commercial starter files have many more tricks up their sleeves. The good thing: You can simply start using these solutions and cut many months from your developing time.

FM Starter is a basic starter file, filled to the brim with generic tools and functions, like a navigation, multilingual text labels and more.
FrankCRM is similar to FM Starter but is strongly enhanced towards a business software. The focus is still on basic functionality, and you enhance the basics to create your solution. Included are new modules with a wide variety of settings: Addresses, Products, Sales documents. Check our free limited version.
Anchor-Buoy relationship model for FileMaker
Databases organize information (fields) in structures (tables and files). A flat-file database only has a single table in a single file. FileMaker became a relational database many years ago, allowing for multiple tables within the same file and allowing them to play together. You can now connect tables. This avoids redundancy and enables many options, both functionally and visually. There are a few ways you can connect tables (create relationships). This article is about these relationships and favors a specific model of relationships, called the “Anchor-Buoy” model.
What are relationships?
Relationships in a database environment like FileMaker are connections between tables. These connections allow you to link information to some other information. The type of linking will define it as a one-to-one (1:1) relationship, a one-to-many (1:n) relationship, or a many-to-many (n:n) relationship. This can create specific and unique links, category links, or cross-linking of many records.
Relationships are useful, for example, to enable quick finds of related records from other tables, to read or write data to other tables, and such things; they reduce redundancy of information and by that, help to maintain the integrity of the data.
Examples of relationships:
- One invoice has multiple line items with sold products. The invoice is in one table; the items are in a linked different table.
- One address or company can have multiple employees or persons attached to it.
- In a workflow, certain stages of production can be linked to multiple other stages.
- In a library setting, a book can have added information in other tables, like the author, the publishing house, the series it was published in, and many more things. These other pieces of information are best kept in separate tables but can be linked to each other.
Note: The relationship model you choose is essential for the success, maintainability and longevity of your solution.
Best practice
FileMaker is quite forgiving when applying different methods of creating relationships. The only fixed requirement is that you link tables by linking two fields. This is done in the database window (File > Manage > Database), in the tab “Relationships”. There you find a visual representation of all tables. Each table has at least a single occurrence but frequently gets several occurrences for different purposes.
Within that view, you can click on a field of any table occurrence and drag it to another field of another occurrence. That way you create a relationship between those fields and, by definition, between two tables. Each relationship has a purpose. You define that purpose by not only defining the link (visualized by a line between the different tables and fields) but also by defining some settings (visualized by a block in the middle of that line, which you can double-click to open the settings).
Beyond these basics, you can create relationships as you like. FileMaker does not confine you to a certain method. Yet, it is helpful to give this a thought, as each decision you make will have consequences down the road. Every developer has to deal with both the decisions and the consequences. As it turned out, not every approach is simple or sustainable over the long run. People came up with preferred methods of creating relationships. While several methods worked at first, not every method was bulletproof, so to speak, once the application grew.
The best practice thus has nothing to do with the linking itself but with the structure you use around this linking. You create the environment within which you will develop your application. You are the builder of an ecosystem. Best practice recommendations help you to thrive when you build your personal ecosystem in your next app.
Consider each relationship model in FileMaker as an ecosystem. Here are several versions frequently observed out in the wild.
3 basic relationship models
Over time, several approaches were tested, and today, the following three are recognized among many FileMaker solutions:
- Spaghetti-style
No strategy. Everything is connected with everything. Layouts are everywhere. Scripts start at possibly any location and can cause unpredictable results because of that. Most developers start out by just trying to work with FileMaker, create relationships as they go, and end up with a spaghetti-style mess in which everything is entangled. Applications that grow this way organically become increasingly difficult to maintain and develop. - Anchor-Buoy
Clear strategy, in which starting points and options are well defined. One always knows where layouts should be and what relationships are available from that point. This is the model and topic of this post. Most professional developers, to my best knowledge, use this method today. It is best practice. - Selector-Connector
System of relationships and an advanced application of the Anchor-Buoy model. All relationships exist in a system with global application for the file. It fulfills the desire to be able to go anywhere and do anything when relying on the system. It also locks you in a system. The system requires more knowledge and careful application for each step than the simpler Anchor-Buoy model. That also might be its weakest point. Most developers I know, who tried the Selector-Connector model, moved back to the Anchor-Buoy model for several reasons. Among these reasons are complexity, performance issues, and system dependency.
The Anchor-Buoy model solves the unpredictable and messy situation of the spaghetti-style model while avoiding the complexity of the Selector-Connector model. It is in a sweet spot, which is easy to understand and use.
While FileMaker, as an application, does not care about what model you use, developers choose to go for a certain model because of certain benefits. You cannot go wrong with the Anchor-Buoy model, as it is simple, transparent, and understood by many other developers. It is a good starting point because of all these reasons.
Here are some benefits of the Anchor-Buoy model listed:
- Easy set-up
- No system, just an understanding
- Visually clear
- Maintenance and development are easy
- Scripting is simplified by this approach.
There are also some downsides:
- The structure of this model must be understood
- You end up with many more table occurrences.
Now let’s have a closer look.
Spaghetti-style
This is the most common type of styling for anyone starting off with FileMaker. Embrace the options FileMaker gives you and just keep on walking. There is nothing inherently wrong with this approach, but there are downsides. These downsides usually make a solution unpredictable, difficult to maintain, and eventually challenging to develop. While it all starts simple and quick, it can quickly derail into something that is not easily understood and takes increasingly more time the further you go.
This is the type of application some clients and companies develop for themselves until they see no way out. At that point they call a professional developer, who has the almost impossible task of disentangling the mess. The first thing a seasoned developer will do is look at the relationship model and start speaking with the client about the things to solve.
What a professional developer immediately sees is the type of relationship model, which is the cause of much of the trouble the client spoke about. Solving the issues at hand would basically require a remake of the application by choosing a better relationship model. That, however, would mess up scripts, layouts, and all the workflows, based on the spaghetti-style approach. The real question then is this: Do you want to invest in an entirely new development or try to improve only specific issues? It is a question of budget and time.
Often, a new development is not wanted because of the investments in time and money and probably some pride for the original application. The developer can try to improve the situation by rearranging the table occurrences in the relationship graph to make it more transparent and strengthen the relationships where possible. However, that doesn’t change the underlying approach. New developments within the same application will most likely be set up by using a different kind of relationship model, independent from the original structure.
The spaghetti-style method is logical if you just started exploring FileMaker. It occurs naturally, but over time becomes increasingly difficult to work with.
Anchor-Buoy
The Anchor-Buoy model of relationships is the most used variant among developers. This is for good reasons: It is easy to understand, reliable, future-proof, and proven in countless professional applications.
This is not about a religious appreciation of a certain way of doing, but about practicality. There is no must here, but it will enable you to create reliable solutions that are simple to maintain and can easily be enhanced. The approach tries to make it simpler to strengthen it. It is something similar to that slogan: “Simplify your life”.
The Anchor-Buoy principle does so by defining table occurrences in the relationship graph to fit specific purposes. Each table occurrence is either an anchor or a buoy. According to their function, they can or cannot do things. That is not a technical limitation by FileMaker but a decision by the developer to simplify development. It is a way of approaching the inner structure of the file.
How does it work?
In an Anchor-Buoy model, you look at table occurrences from a developer perspective. Each so-called “anchor” can have multiple “buoys” attached. Anchors never are linked. It is always a single anchor and one or more buoys. One such group is something like an island. Mostly, there are multiple of these islands in a single application, where each island has an own set of anchors.
Here are some specifics:
- Anchor, the central element
Layouts are only created on anchors, never on buoys. For that reason, users always will be on an anchor occurrence, and scripts will start on an anchor occurrence as well (by clicking on a button or a layout trigger on that layout). Anchors are usually the starting points for processing. - Buoy, the related tables
Buoys are never used for any layout. Instead, they are used to read or write data, or for something like “Go to related record”. Buoys help your anchor layout and scripts to find, process, or route any information from that starting point.
In FileMaker, data and design are intrinsically linked. Each layout is based on and linked to a certain table. Therefore, it is logical to link layouts to table occurrences. It will always be the case. However, it does matter where you put your layouts. In a spaghetti-style setup, you don’t care about the whereabouts of any layout. In the Anchor-Buoy model, though, it matters.
As shown in the image above, different table occurrences are shown. On the left is the anchor defined. There you also find the layout(s). On the right side of that single anchor, you find the buoys. These are used to retrieve or write data.
It is good practice to visually represent the anchors and buoys the same throughout your relationship graph. It is helpful, for example, to always put your anchors on one side and the buoys opposite of that. Like: anchors at the left side, buoys on the right side. Also acknowledge that layouts cannot be built on just any table occurrence, but only on anchors. This simplifies a lot. It tells you where your anchor is and thus where your layouts need to be.
Let’s explore that in a bit more depth.
Example
Assume you are working with a table called “Addresses” and you have other tables linked, like “Contacts” and “CommunicationData”. Now let’s assume we consider where to put the layout for “Addresses”. Logically, that would be on a table occurrence of “Addresses”. Many developers work with the idea that every first occurrence of any table is, per definition, an anchor. It is the table in its most pristine view and with the most basic naming (just the name of the table). There are no relationships yet, and everything is in the green, so to speak.
Starting with this table, you want to create relationships with both “Contacts” and “CommunicationData”. However, you will not use the first table occurrence of these tables as buoys. Why? These first table occurrences also could become Anchors. Thus, you put all first table occurrences at the left side of the relationship graph and than start adding new table occurrences.
How does that work?
Well, you add a new table occurrence with + in the relationship graph. You then select a table, like “Contacts” and it will add a new table occurrence for Contacts. As there already is a first table occurrence for that table, FileMaker will name that second occurrence something like “Contacts 2”. That’s fine. You can change that name.
A good way to name that second occurrence is linked to its usage. As you want to create a relationship from the Addresses table to the Contacts table, you could name it something like: “Addresses_Contacts”. It has the source table, an underscore, and then the target table. As a personal preference, I add a pipe “|” followed by the relationship field or criterion. A full name for the new Contacts table occurrence could be: “Addresses_Contacts|AddressID”. This is helpful in many ways. By the name, I can get an understanding of the usage. It also lists these names perfectly in alphanumeric sortings.
In our example, you now have 2 occurrences for the table “Contacts”:
- Contacts (to be used for an anchor occurence)
- Addresses_Contacts|AddressID (used as a buoy from the anchor Addresses, using the criterion “AddressID”).
There is no rule about how you should do it. This is just how I use it. Please don’t hesitate to do it differently. Some developers prefer to write their anchor occurrences in CAPITALS. Just be consistent in it. Consistency is a great way to preserve transparency over time.
Island hopping
In an Anchor-Buoy model, you build some kind of islands in your relationship graph. Each island consists of a single anchor, linked to as many buoys as needed. These islands have big benefits compared to a spaghetti-style approach, where everything is somehow linked to everything else. In an Anchor-Buoy model, that is no longer the case. Everything is split up into logical groups, the islands.
Within an island, everything is consistent. It is perfectly clear on which table occurrence layouts are built. Those are also the starting points for scripts. What you can do with data from other tables is defined by the specific buoys of that island. But how can you move from, let’s say, the Addresses island to the Contacts island or Projects island?
That is easy. You can simply jump to any layout of another island, which will be on an anchor occurrence. That is easy. You also can use the function “Go to related Record”. From the Addresses layout, you use one of the buoys to get to a specific set of data. Think of jumping to the contacts of a single company by using the previously defined relationship:
- Addresses_Contacts|AddressID.
In the setting of that script step (“Go to Related Record”) you then choose an anchor layout from the Contacts table, like the previously mentioned:
- Contacts.
Doing it like this lets you easily move around within an Anchor-Buoy setup of your file.
Selector-Connector
The Selector-Connector model is quite interesting and based on the Anchor-Buoy model. Yet, it is enhanced to a system and rule system that makes it a different approach. The Selector-Connector model is not further discussed here in the post. As it is an interesting enhancement, please check out other posts you can find on the internet. Variations might use different words like “Transistor model”.
This concept is interesting for some scenarios, as it builds on a single universal context, through which all functions and data flow. That simplifies or structures requests beyond the options of a mere Anchor-Buoy approach. This can be a demand for a project. Also consider that this unifying approach can be more easily enhanced toward a session model, which is useful for some projects.
Is there a best relationship model?
That question should be answered by now, as I mentioned that most developers I know work with the Anchor-Buoy model. That does not necessarily make it “the best”. It is not the most technically savvy solution, as that is the Selector-Connector model or variations on that. The reason that people moved away from the Selector-Connector model is mostly that it was unnecessarily complex for most work. To create a system, then do everything from that system, needs a lot of overhead.
While the Anchor-Buoy model probably has the highest number of relationships (every island needs its own set of ferries), it has the highest practicality. Simplicity beats advanced setups. It is simple, robust, and solves the issues of the spaghetti-western story. From a pragmatic point of view, the Anchor-Buoy model most likely wins the race.
In any scenario, the spaghetti-style model has the fewest lovers and the most issues. It might work for some if they are extremely cautious and work along their own rules. Consistency and understanding are key to any success and not just a given for that model. Anyone starting out with FileMaker should probably be aware of the dangers of too much flexibility.
Do you think these conceptual thoughts are helpful?
Did you like this insight? Share it with someone who might benefit from it.































































