navarre.ai

ClarisTalk AI · the FileMaker AI podcast

Dimitris Kokoutsidis announces ai2fm.com - a new way to write FileMaker scripts in an IDE.

April 23, 2026 · 67 min · Matt Navarre and Cris Ippolite

Jump to transcript ↓

Matt and Dimitris talk about a new tool for the community that allows coding FileMaker scripts in an IDE. It's a totally different dev environment, and also completely familiar.

Apple PodcastsSpotifyYouTubeAll episodes

Transcript

Transcribed by machine (whisper, large model), 8,016 words. Names and product terms are sometimes misheard; the audio is the record.

Welcome to Clara's Talk AI. So FileMaker since the beginning of time, which is a long time ago now, its power has been in the script workspace by whatever name over the years. It's been a great tool. It's really where most of the power of the application is. It's got the nice guardrails, super easy to get your script steps. They're all very easy to configure. Each one that does different things has all the correct settings. But guess what? Now we live in the land of AI, and AI does not work with that. AI is text, text, text. How do we solve that problem? Our guest today, Dimitris Kokotsidis. Welcome, sir. Welcome. How are you? I'm very glad to be here. I'm glad you're here.

And I'm very glad to show to the rest of our fellow FileMaker developers and users how we solve this problem that you just described. Because it is extremely, extremely painful for a lot of people trying to get their script outside of the very good FileMaker script workspace, which is indeed, Clarisse did a great job building it over the years and enhancing it again and again. But it is a closed box. No AI at the moment can get inside that script work. Well, yes and no. So AI, it's XML, and if you have the MBS plugin, you get the one direction, right? You can copy the script steps to the clipboard, go into an AI tool and paste it, and it will actually see it as FileMaker and give you the stuff to do, but you cannot paste it back.

That's the problem. Not with anywhere near 100%. Exactly. And what Christian from MBS plugins did is extraordinarily good, But there are some peculiarities that that ability of NBS FileMaker plugin does not catch correctly. Because we don't have a standard grammar and a standard syntax of what FileMaker as script text should look like. Nobody has created a standard for that. There is no official FM script language that everybody can use and everybody can write and everybody, meaning also our AI agents, can deliver, read and deliver in that specific grammar and syntax. Right, which is really part of it. So let's dive into what you got. I know you had just a couple of slides with the graphic and I want to see this.

um in action i've seen it a little bit which is why i invited you to the podcast because this is a transformational thing oh thank you uh first of all uh for the people that don't know me let me share my screen and yeah very very briefly say who i am and what i have done um and yeah i didn't do much of that on the intro sorry dimitri that's that's that's perfectly okay so uh we're here today to talk about ai.fm.com ai2fm actually For those listening, that's AI and the number two, fm.com. Okay. And, but I read it as AI2FM. All right. I just want to make sure people don't think it's T-O-2, so. Yeah, yeah, yeah, yeah. You're absolutely correct on that. So if we go to the next slides, who am I?

I started many, many years ago with a Bachelor of Science in Civil Engineering. I have done more of 25 years of file maker and IT projects all over. In Greece, UK, Europe, Tunisia, Saudi Arabia, and USA. Pretty impressive cybersecurity certification there. Yeah, I haven't talked about all that. I am certified as a file maker, obviously, developer. And I have certifications from the University of Athens in cybersecurity. I am a certified advanced IT security technician from TUV Nord. And I'm also certified by IASC Squared and Cisco. So I gave a very, very exciting speech two years ago in ROM FileMaker, which Honza Kudeca wrote at his site that Dimitris made the room sliver from fear from what we saw.

And it is there. You can find it in the web if you search it. Because what I demonstrated is real security issues that nobody so far had revealed. And one of that was how FileMaker plugins handle their security and their property, Their intellectual property, meaning they cannot trust worthy guarantee that they get the money they should get by deploying the plugins. Because everybody, not everybody, advanced users can bypass their security. So because I did that, I built AI to FM.com, taking care of that. So FileMaker, a FileMaker script will go to my server where the XSLT transformation will happen and return in nanoseconds, milliseconds actually. But everything will happen in RAM. Nothing is

is written, nothing is kept, no log. But I did it this way, because it was the only way to protect my intellectual property, and also protect the intellectual property of my customers. Right. So as as opposed to just being like, someone downloads the whole open source thing, and then could, you know, change it and blame me or whatever. Yeah, so let's, what else you got here? And what's the next slide? All right, I run three websites, axelart.eu, where it is my personal blog, where I chat about... Great blog entries, by the way. Thank you, sir. I talk about AI, I talk about FM, I talk about... Sorry, I talk about IT, I talk about all kinds of things. mostly FileMaker and AI.

Then we have cyberfm.eu, which is a resource I built for that presentation in ROM FileMaker Week, which I would like to... Yeah, that's cyber-fm.eu for those listening. Correct. And I actually didn't know about that site. I know about the other two, but I'll be looking at this one. It has a tremendous, it is a tremendous resource in FileMaker security, and everything ever written about FileMaker security is here. Yeah, a lot of people's names I see there, too. If you spoke about FileMaker security, And you are here. Well, then I should have known about it then. And I apologize for that. It's not your fault. I haven't really worked on that to promote it.

Well, now we are. Yeah, of course. To be honest, I have done a lot, a lot, a lot, a lot of work. Chris Moyer has done a lot of work. Yeah, he's amazing with security lately. Yeah, yeah, yeah. I'm in a lot of meetings with him. Yeah. So let me get that out of the way. And my new child that was born this winter is AI2FM.com, that we will keep talking about. And it's time to really stop talking and start showing actual things. So what's interesting on this, what you've got here on this one is Claude Chachapiti and Gemini. Yeah, of course, because Gemini 3.1 Pro is an equal player in coding with Cloud and Codex 5.4 OpenAI. yeah yeah yeah yeah okay it is particularly useful as a planner once you're going to plan

but it doesn't lack abilities one given context and it can deliver also and because i am i have have an unrestricted subscription to Google, I use it very, very much, and I use my preferred ID is Google's at the Gravity. It's not VS Code or Codium or Cursor or Kira from Amazon or Windsor. I use, for my development, Google's at the Gravity. But that doesn't mean that the extension that you're going to see doesn't work on any of the other IDEs. It works on Codium, which is the real open source, not a company-related IDE at all. Not telemetry for Microsoft, not company-related, right? The code is on GitHub. Everybody can see and verify that it is really open source

and not related to any company. I'm sorry? Well, I just wanted to say, like, on this slide, my favorite thing on here by far is, as we were talking about a minute ago, You can paste XML from FileMaker into one of these chat engines and wait for a response. So they have incredible intelligence. They can tell you a lot about it, but they have zero agency. They can't do anything about it. You have to manually do all that stuff. That's exactly the pain point. That copy and paste. I have created here. Here's your code. Yeah. We are in a project and I said to Claude, read the instructions, write a typical file maker script. Claude, because this is, I have trained Claude to always ask the six whys.

What, where, who, what is the point, what we are doing anyway. So it never just blindly goes up and it will always ask, what should I do? And it wrote not just a typical crude file maker script. It actually wrote an architecture and commenting, starting from create a client side, create record. Yeah, so what we're looking at looks pretty much exactly like a FileMaker script. Which is, it is a FileMaker script. No, no, I know that. But what I'm saying is the interface, as you scroll down a little bit and pause a little, like all of the script steps have the same the dots in the same place. You know, actually a little bit more information on this one, like in a set variable command where you can't really see that in FileMaker, you get to see the whole thing broken out here, which is great. But it's text that is editable. I think that's the huge difference, right?

Yes, yes, yes. It's text. And right now, let me finish scrolling. We have edit record client side, server side, delete. Right. So there are basic CRUD operations. Yeah, okay, read. Yeah, yeah. And a universal callback for all of them on success message. Crazy. From one small prompt, like give me the typical thing. Yeah, it's not a small prompt because if we go to the… Oh, yeah, yeah, your grammar reference. So what I meant is with all the stuff in place, you can get a lot. Well, let's dive in and see more about how this works. Yeah. So it actually did the callback, and the callback also, because it's using transactions, it tells me which custom errors it used for the error trapping on the error of the transaction.

Yeah, you've got your error codes in there, yeah. Well, let's step back to what the process would look like for a developer who's using this. Right. Well, let me ask one question. Do we still have a copy and paste issue? Like if we're-- Of course we do, because now we have perfectly legal and very nice FileMaker script that is-- as you can see, it has very good documentation. Yeah, I see that, but we'll get to that. I guess what I'm really talking about is the total crux of this whole thing, and correct me if I'm wrong, and I know there's deeper parts to it, is you take an entire script in FileMaker, all of the script steps, copy and paste them into this IDE.

All of your editing is done by prompts and direct editing of the text. And then when you're done, you copy that to the clipboard, And when you go back to FileMaker and paste it, it 100% works. That is the crux of the whole thing, if I'm not wrong. Yes? Yes, exactly. Okay. That is the promised land that I'm going to get to. Yeah, it really is. I mean, the only step after that would be to have it just completely automated where your IDE would just show everything. You'd go into GitHub and all your scripts would be there. And then, you know, it would automatically directly connect to FileMaker. you get all the power and benefit of FileMaker. There is something more important.

We don't have a way for AI to see the full of our solution. We cannot have an AI to see all the scripts of a solution and their interconnections right now. Well, kind of. You can take the XML of the file or the... And that means that if you have 300 long scripts, you're going to have an enormous amount of information in one... Larger solutions will definitely exceed the million tokens. But nonetheless, it can be there as a file that can be referenced, an artifact or whatever that can be referenced. And, of course, it's also changing constantly. First of all, think of the cost of it. Because you're sending a million of characters, of tokens. It's time you send an XML to a provider that you have to, the AI in the backend has to read, analyze, spend time computing into understanding what this XML should be as a mini.

and then understand that and after it understand that, respond with a FileMaker script, SFM script. That is a huge spending without reason. Yeah, that's for sure. I can see that. So we solved all that. So we're looking at the text of the script here. And what happens if you delete an end if or make a typo on a field name? Yeah, we haven't gone -- we are not there. We haven't touched the IDE yet. But that's a good question. And keep it when we will go there. Because that's another huge key. Yeah, yeah. What I wanted to show is that this, of course, is not limited to Cloud Code. You can repeat the same process exactly with another project in chat GPT. Or you can use Gemini.

Yeah. And you can just connect it to not -- I'm sorry. To notebook LM. Yeah. Yeah, yeah. Let me find the exact -- because I haven't. OData set up. Yeah. That's the one. Cool. and that's it and then like with your notebook Alamir a simple prompt describe the notebook yeah so because because Gemini does not have the ability to create projects like Cloud and ChatTPT has They gave us the ability to connect our chats to Notebook LM. And what does Notebook LM do for the user? What does it store? What does Notebook LM give you, for those who don't know what it does? Oh, that's an amazing tool from Google that can create a video that presents everything that you gave in that

knowledge base that you added because you can add as many files as you want. Notebook alarm will pass them, understand them and if you want to create let's say a mind map or an infograph standard. So what would you be pasting in here, like FileMaker scripts or layouts? What is the proper human-to-AI language nowadays? That would be markdown files. Yes, of course. And as you can see, - That's for sure. - All my documentation is mostly Markdown files. - Okay, so right now your notebook LM is kind of where that is going. - And just in a fraction of a second, it created a mind map. - Yeah, this is cool. Wow, yeah, I like how, I see what you mean. You're clicking on the arrows everything just kind of pops out uh gemini now has access to that information also so if you go back

oh all right well i want to get to i don't want to get too deep into this because i want to really get into the coding yeah yeah but what i wanted to say is all that is very very good and very, very beautiful, and very, very helpful. But it is in the past. Nothing of that now matters because it is the age of the ingenting AI. We cannot, none of these webchats can use agents, cannot access your operating system, cannot create files to your disk. Well, Cloud Cowork does that. It does. Yeah. I'm talking about the closed environment of web chats. I gave you web chats and their limitations. Yeah, definitely. So we are going away from that. And so, you know, so Cloud Cowork can do things like control a web browser, clean up files, read emails.

It cannot do things inside FileMaker. It is not opened to it yet, as far as I know. That would be cool if someone has that working. Because, you know what, that could be like a big next step for you, right? It actually can do it. Because if you create, it's like, remember early days of FileMaker, we used to have automator and we would put some kind of calculation in memory and paste it into our fields or into our calculations to do some kind of automation. Right now, what I have created creates unlimited abilities, capabilities. But first of all, let's go to actually see what is AI to a firm. All right, so our website. We are bridging the gap between FileMaker and AEI.

And how we do that? We created a VS Code extension that is compatible with all VS Code forks. It doesn't matter if you're working on VS Code on Cursor, AdiGravity, Windsor, Amazon Skiro or the open source Kodium. It just works. And it just works on every operating system. Windows, Mac OS, and Linux. Right. There is no -- because those AGEs work everywhere and they are universal. So pick the one you use and let's take a look at how it works. I want to dive in. I want to see code. Yeah, yeah. But I want to point out that that IDE and that extension is free, totally free for everybody. Not all of this is free, but that part is. Yeah. That part is totally free.

You can create a demo license into our site, download the extension, install it into your ID, and work for it eternally. You can create scripts, you can use AI to amend your scripts, and you can do all sorts of other things. And I'm going to demonstrate that now. It's time. - Yeah, then you've got the other half of it we'll take a look at too. - Yeah, I'm going to open my screen that I'm serving. And here we are. Now, what I did is I-- - This looks like FileMaker, but this is not FileMaker. Right, so you have a bunch of documents, and each of those is a script, right? Yeah. A .fm script file. Let me actually enlarge. What I opened is the open source column, the one that has no affiliation.

It's open source. Yeah, so it's a text editor right now, right? It's a text editor, but it's not a text editor. It's an integrated development environment. Okay. It has a lot, a lot more capabilities than simple text. Of course, I misspoke. And as you can see, it already has GitHub enabled, and it tells me you have four new files that are not pushed already in your GitHub. so that so it's the code can be stored in github then yeah okay so you you sort of have parallel code of your filemaker scripts uh in in uh in github and filemaker and in your github all right okay um and then how like what's the workflow then of uh i don't know if you want to start with creating --editing a script or-- Yeah, yeah.

What we see right now is just black and white text, correct? For your viewers of the broadcast, it's just black and white text. There is no color coding. There is nothing. Nope. And that is why, because the single most important step is download the extension, go to your ID, go to your extensions, and install it. Clipboard bridge, OK. After you install it, and you enable it, you go back to your files, and now you have -- Now it looks more like FileMaker with all the color coding, yeah. Now you have not just FileMaker, you have a lot more than FileMaker script workspace can do because you have color coding you also have well yeah we're in an ide so obviously it's a you know a whole different deal yeah i see how you can compress like you have a loop or an if or whatever you can you know um uh there's a better you can click the triangle or whatever and compress it all in so you don't have to read the whole entire thing yeah and also if you you can see that

every nested structure has a different color. This if has a different color from the next one. So you can visually see where an if starts and where an if stops. Yep. The same is true for loops. The same is true for transactions. Yeah. It looks pretty clean. All right. So let's get to some editing. um all right so the first thing to do is that create a new file all right and that it will be mat dot fm script and now the blank of us oh my god what i'm going to do i need to write the script You're going to put a comment in? No, I'm not. Actually, all I have to do is set, and then say set variable, and click enter, and it is already there. So it actually, now this is the thing that's impressive.

It knows all of the FileMaker script steps and all of their parameters. Yes. And with the same shortcuts. Yes. And all you have to do is type SE, and-- Yeah. And it's even better, because you can just tab over to the values and variable names or whatever. OK. Yeah, usually I do SF and SV. Whatever. And you get that. Yep. And you can have different, of course, by a name like math, the value will be with the tab. Nope, sorry. It says variable. Let's say math. And go to value and say whatever you like. Let's say 0. No, you will be 1. If it's a string that has to be in quotes and you forget the quotes, like a number doesn't have to be in quotes in a set variable command.

Of course not. But you have to be able to change value and say, gene. So what I'm asking is, if you forget to put the quotes in, what happens? Because like, FileMaker won't let you. FileMaker won't let you. No, if you try to do a set variable command, and you type in text into the box and it doesn't have quotes in it, you can't leave the box. So it will not allow you to make certain type of errors in the calculation window. Correct. And, for example, forgetting quotes, yeah, or missing an end quote. Yeah, yeah. Hold that thought. We will get back to that. All right. All right. We set some variables, And now the ID knows that there are two variables. And the first thing to do is would be to open a transaction.

I type OP and I have already. - Yep, get the entry validation. - Open transaction with a revert transaction. - Already built in, nice. - Built in and now that I have my transaction, - Yeah, even lower, you've got like pre-filled error codes and yeah, okay. - Yeah. And you know what, in that intersection, I will do a loop. And if I type low, loop, the loop is there. And I can change, I can choose if I want always-- - Another impressive thing here, Dimitri, in the loop, the dropdowns are always in defer. So it actually knows not only the name the script steps but also all of their parameters that are the ones you normally click okay cool i'm impressed yes and i know i know that i'm just basically gonna get to react as i see things okay so inside that loop inside that loop i will do an if and if i do a d i have it automatically has an else if and an else nice and of course if you

you don't want them all you have to do of course of course but i mean i mean who writes an if without an else if no one who listens to this podcast i know well i guess so we already have a skeleton in how many keystrokes of 73 i counted i didn't count no no the keystrokes are SA for set variable. I know, I know, I'm messing with you. OP for open intersection. But frankly, this would be about the same as in FileMaker, except for the other steps that you get. And also that you don't have to go into the dialog box for the objects and set variable. But I guess what I'm trying to say is it's very, very similar. But right now, we're also manually typing code, and we wouldn't do that.

We would use a prompt, which I'm sure we'll get to. Yeah, of course. But I want to demonstrate first that right now, there is no exception in this IDE. There is no extension in this IDE of an AI agent. The only two extensions that are enabled is the FileMaker Clipboard Bridge, which is AI to FM, and another one to preview our Markdown files. Because as I told you before, the modern human to AI language is Markdown. So these two-- a Markdown preview is always needed. Right. And because, like I said, that documentation is in Markdown, you can read that. But if you go here and say, preview to the side, you can have-- Yeah, I see that. Let's go back to the script.

All right. So that means-- let me close that. So this is a really efficient way to just do regular old FileMaker scripting in a IDE, in a text window, with all of the usual helpers you get in FileMaker. So that's pretty nice. Yeah, in FileMaker script. Yeah, yeah. So we're here. And then, of course, you get a bunch of other things, too. find and replace and a lot of other things you that would come along automatically with a text editor you don't get at all in FileMaker okay continue so one other very nice feature is that because it is an IDE if I have that and I right click and I say format my document yep it automatically puts the correct nesting in okay nice so far and that's very FileMaker specific yeah and the color binding is also FileMaker specific and the folding unfolding is also FileMaker specific structure what you see so far

everything you've seen so far is totally free that's impressive all you have to do is download the extension from AI to FM dot com install it in your IDE of choice and start working alright love it let's get to the next step what's next alright alright you know all that is very fine and good but where should we go we'll get to the AI we didn't have a ton of time set aside but I definitely want to get into that stuff now Yeah, but I want to show that the extension is available and running in Amazon Skiro. Right. In Windsurf. Cursor. Yep. Nice. Looks the same. And, of course, in what the modern revolution started with, VS Code. Okay, so we haven't got into the FileMaker part yet,

but before we actually start copying and pasting into FileMaker, show me the AI part of this. No, that will be the last thing. Okay, and what's next? The next thing is we have to explain to people what else is possible with the free tire of the extension no let's just press on we have limited time um i mean all right i want people to discover some things on their own and again this is not a sales pitch i'm just i really wanted to see like the the big whammy part right when i saw another demo of this and again the reason i wanted you to be on the podcast was the power um yeah so let me close all that and the you know the real power comes with um the paid version of it and then maybe actually what we just saw is pretty great but um you know that full i'm actually not exactly sure but i'd like to get a brief summary of it and then a demo of it working in filemaker yeah let me close all that Lots of fun code.

Like looking around, reading everything. Import records. All the usual file maker commands and normal file maker scripts. Let me -- yeah, got it at last. You're right. Setup. Yeah. Right. Right. OK. And as I said, my idea of choice is Google Antigravity. OK, so let's continue. And since you wanted AI, let's go here. And let's talk to AI. OK, so run prompt. Let me talk about what we're doing, presentation, oh, yeah, yeah, so I'm looking at some of the other stuff you had in there. So you're putting a prompt into just kind of some generic stuff, say hi to Matt.

would be a normal ai text prompt yeah yeah so not in filemaker yet so um how do we what's the way to get into uh filemaker i see some previews there so this is basically giving me a preview what you can do so you clearly guided the prompt by saying um you know what i did is that i my ide already knows about this podcast today right my agent my uh the gravity germany agent knows all about this so you can point that not only at what's going on but it actually reads out to other places yes of course so what uh because what's the scripting part let's get into filemaker yeah so and so from that same prompt i mean could you do something like uh you know write a file maker script that does blah blah blah and uses this stuff so um so we're looking at an existing script now yeah we're looking into existing script okay and i'm going to

fire up my file maker server So we're still not getting into using AI to modify or write the script, which is what I really want to see before we get into other things beyond that. Can you repeat, please? So the big part of this that I saw is using AI for prompts to write and edit a FileMaker script such that 100 of the code that it writes can be pasted into script workspace without editing that's your holy grail dimitris and that's what i want to see if we can see that before i mean i know there's a ton of other features and i i will discover them by playing um but i kind of want to see you know exactly it's time for that yeah the proof is in the pudding part In our limited time we have.

All right, so we're in the FileMaker database. Demo application. This is a very big application. It has hundreds and hundreds of scripts. Okay. Very complicated ones. Oh, wait. Yeah, it does. I thought you were joking, but yeah, that's a huge solution. Yeah. So all I'm going to do is I don't even know how many hundreds of lines of code that was. That is actually 183 lines. And go back into our IDE. And do the magic. option T for text and that huge script is now in my IDE stack with all of the normal formatting and commenting and indenting and everything no the indenting is not there well anyway format document and the indenting

got it okay Well, I saw some. Okay, so now let's talk about the AI part. I would like to show that what I just did is the forward part. But the hard part, the hardest part of all is the reverse part. Do a simple edit, what will be, yeah, disable that value here. Yeah, so make one tiny change to the code. All right. Okay. And again, select everything. Yep. option command f so not just command c no okay it is option command f now i have put it into filemaker clipboard and that specific combination of keys sent that text into the server and already

compile that into... So, into the server, not into the local copy of FileMaker? Yeah, because... So, yeah, we're running FileMaker locally. Well, it could be a hosted application. Okay. So, you created a new script and you paste it. This is it, right? This is exactly what I wanted to get to. You took a text from an IDE and you pasted it into a script and 183 lines of code and with no errors exactly nowhere now i see some a couple of warnings in there what's line 108 yeah that is not that is a future not a bug a future it is a future because it says go check your references yeah and if it if you have some errors fix them yeah because of course you could always make all kinds of errors in the raw text right so um yeah yeah but the point is the grammar is correct the grammar is correct yeah that's the key that's kiki yeah and of course the the tiny change that

I made. That I changed the value to zero. And that's there, of course. It's there. All right? And so what else? So let's go back. And now let's create an error. well let's not let's actually start using ai well you actually no no i do want to see what how it handles an error okay so yeah you've got an if statement you put in you put a space in the middle or something that's definitely not allowed right yeah like a typical typo you know kind of the reason that filemaker is not doesn't all this time have a text uh window for script debugger is it puts those it gives us all those things to so that a huge number of mistakes can't be made okay anyway um this is now how you can use ai because ai now took over i saw a warning there so um

i did did you attack type a prompt i see it's actually working on something yep and saying it can't edit a file that doesn't exist which is oh i have to save the file oh yeah that makes sense yeah that's right you created a new file in here so and we might have another snappy there too that i saw being potentially out of credits it's okay oh that's so nice the drop down has multiple models yeah that is cool easy to check so now we're in sonnet 4.6 Yep. I just saw it spotted the error. So it found the error and the road tells us we have a rogue space. Do you want to fix it? Nice. Okay. So it's going to find all those things in there. How do, let's go beyond that. Um, cause I definitely wanted to see that part. What if you wanted to do, let's not even talk about writing a script from scratch. Let's talk about adding a whole big section into this one or changing a section in here.

With AI. That's really mostly what we have time for. Because I've got another commitment coming up right now. All right. You typed the command fix it. Yeah. And I don't know if that would fix just that one thing, maybe. But, of course, you could have a whole bunch of errors. You might have been working with this script for a long time have all kinds of typos in it i have found since ai that my typing is really fast but ridden with errors much more than i used to make because i trust it to just ignore them i don't know if other people have found that same thing um i don't know i don't know oh yeah i saw another little error there for something from ai because that's the law of demos right um so show me how like if i wanted to uh you've got steps in the script if i didn't start and if is back uh so yeah let's add something in like a prompt another step you've got step seven we're looking at that does

the script does well explaining the script assembly we have right now but what i um but what i want to see is changing code writing a block of code and having that go back into filemaker um um because like right now in ai if you copy and paste the script from the um from the plugin you get it can actually understand and explain it Because it knows enough about FileMaker to do that. This is a better explanation, clearly, because it knows about all the grammar. So what if we wanted to add step 8 and have it do something? Ask it to, or what do you want it to do? I want it to create a loop that checks invoice line items. And if there's any that are missing a quantity, To default to one.

You said ask. I don't know. I'm coming up with something that's realistic. Yeah, but this one is a template script that actually does CRUD for using SQL in FileMaker. OK, well, I mean, you should be able to still add some code, right? Yeah, yeah, all right. Yeah, so go to related line item records. I don't know, type something. No, let's find another better-- A script that more realistically has stuff like that? Yeah, yeah, yeah. Yeah, because I see that particular one wasn't a really good example for adding code. It was a good example for fixing grammar. please create a script a crypt a script I know but you started typing crypt and I'm thinking crypt with a Y that's the right kind of typo right there that counts invoice

line items well come on let's do it more than that and what uh and uh creates a record in the note table um for any invoice that has more than five line items create a record in the notes table in a notes table and of course i don't know i at this point if we're referring to something that doesn't exist it's gonna kind of have to assume what your naming convention is for notes unless it has your whole graph but even then it has to determine which table is the notes table anyway i'm dying to see what this does let's see yeah and the best demo is always something that's not pre-prepared and so you can see um the the wild things that will happen uh cheers this is my greek coffee yeah had you made a file

that's the other script we're looking at there no this is it oh oh there we go oh my god it did it it put so much awesome documentation and i thought we were looking at the other one right okay okay um so it tells us exactly what it does what the transaction patterns are the script the creator um interesting so you're using sql in here so you clearly have some preferences um yeah scroll scroll down you've got initializing by putting plugins in yeah and then a sql statement that counts them i guess i was thinking it would do a loop but right one of the things about ai that's delightful is you get to discover things but uh my frameworks use fm sql it's a custom function wrapper that uses any of the uh sql enabled plugins right and uh you don't have to specifically say i want to use this or that plugin to right keep scrolling down because you've got a you've got a whole wrapper you've got a transaction which is unneeded for something that just counts things um no no no the count is here yeah yeah yeah well the transaction is also not really needed to create a record in a notes

table, it's, you know, not terrible. And so you've got more SQL. This is a matter of preferences, but I'm always on the safe side. Why not? Okay, well, I have to tell you, this script is 10 lines of code in FileMaker, and we're already looking at 140, 150. And it has full error coding. Okay. - Okay, why is this 200 lines of code instead of 10? Is there some settings and preferences for how the user wants to-- - Because it complied to my scripting framework. - That's exactly what I was saying. Yeah, so it's using your mechanisms, your error checking, your-- - Yeah, exactly. Everything here, my scripts are always transactional. My scripts are always server-side when we are going for CRUD.

And we initiate from the client side, go to server, perform the script, return with a result. I get that. I mean, it's completely unnecessary when you're making a record in the note table. It's the proper way for anything that's like a real system or, you know, for banking or whatever like that. But I mean, so if you wanted to work in really, really simple regular FileMaker, like have it write 10 lines of code rather than 200, where's-- In 10 lines of code. Oh, hell, now we're talking. Yeah, and then it should do-- Notice actions. After this-- actually, while it's running, because it should take a little bit of time, Tell me where that configuration goes for all of the ways I like to work, right?

So it's using your custom function. Where is that setting? It is here. Oh, it's one of the files? Yes. Oh, okay. It's in my code. Developer compliance. Okay, okay, okay. Yeah, so like I used the ChatGPT thing for my naming conventions and said I always want it this way. Boom. It literally is 10 lines of code and two lines of comments. Okay, so it grabs the invoice ID, uses a single SQL command for the count, puts in text about what it made, makes a record. It didn't actually go to layout, though. Oh, wait, it didn't need to have. No, it did. yeah it missed one step that would be critical for this that's it yeah but this is great because you omitted context yes yeah and it put in context right it it knows i'm not sure what it would really know at this point how would it know that your notes table is just called notes in the graph

i'm sorry so it it put in notes colon colon fk invoice id how does it know that that's the field name because we started this from scratch yeah it assumes oh i see um so but if there's another document um well it assumes it totally correct normal file maker conventioning though to be fair And also it put in, you know, underscore FK invoice ID, which is very, very common formatting. I wouldn't, I always just use ID for the primary key. But I'm betting you that in your FileMaker configuration script over there, all of those settings are set in there, yeah? Yeah, because we have a full error framework. Yeah, I see that. Okay. That was impressive. Yeah, that was impressive.

Let me show you our... Yeah, we have time for one more feature. What's the killer next thing you want to show? And we have our scripting framework where everything... Oh, yeah, there you go. There's the framework. so you have a very very very long description and everything is here yeah and obviously that can be all written by filemaker so if you if you took the script the 10 line of code script that you wrote yeah and try to paste it back yeah and i actually kind of know what's going to happen it's going to throw what well it's going to say i don't like if you didn't get the field name right, so if the primary key wasn't invoice's PK invoice ID, well, we're going to just see, aren't we? Yeah. So control A, command option F. Which is essentially clipboard

for the purposes of FileMaker. And control V, command b okay so we've got so oh i'm in love with this okay okay okay so we knew it was going to throw an error but what it does is it tells you the errors the errors are not from cloud code the errors are from our extension i know that's what i'm saying yeah that's what i'm saying so So when we were in the IDE a minute ago, it didn't have any of those warnings. And if you had pasted this script from another database and the context was wrong, it would say, go to layout unknown. And you'd have no freaking idea what the layout name was in the other file. OK, you say, attention, hey, there was an unmapped layout.

And before, when we pasted it in, it was called notes. So now we know exactly how to fix it. And, of course, the fields are the same. Yep. If you go down, it says attention and map field reference nodes FK invoice ID. And then all you have to do is just go and find FK invoice ID node. Yeah. Your SQL command would be a little trickier. So you would really need to do that. Okay. This is cool. Cool, cool, cool. All right. I think we're pretty much at time. So tell me about the pricing. About what? The pricing. So you showed us what the free part, but to get the rest of the whole product. No, no, no. What I show here is not the free part. No, I know. Earlier you showed the free part.

And so we know what's in there. Now we're looking at the part that is paid. How much does this cost to license? I don't know. A coffee amount? Well, I can send you some nice Greek coffee. There's a good store here with a nice roaster. It's just $20 for a month. Yeah, $120 a year, $10 a month, full bi-directional, unlimited transformations. That's cool. Is there also monthly pricing? No. Okay. Yes. One price for all. And if you go and buy a license, it will, because we are in Europe and we use Euro, it will add automatically the right currency and the right VAT. For the country you're in, which thankfully in Greece is 24%. no it's not we could do better than that it's 24% in Germany it's 19 no it's 24% in Crete it's 24% in Crete but it's 19% in Germany oh in Germany got it

so yeah I think Greece is one of the highest if not the highest VAT one of the highest in Europe and also I'm going to complain that um uh gas is almost ten dollars a gallon equivalent here so people in the u.s can complain about three or four or whatever but all the cars everybody drives really fuel efficient cars uh by and large um yeah i think our car gets 55 miles to the gallon something like that it's not even a hybrid diesel. Anyway, this is cool. So 120 a year, loving that. I'm really looking forward to diving in. I'm sure a lot of people who are listening are going to be playing with this because it does really solve a huge problem. So thank you very much for showing this to me, Dimitri.

I want to thank you very much for having me. And I want to say to the rest of the FileMaker developers, the pain is gone. Here's the solution. Nice. Okay. Bye, Alexei. Bye.

Back to top ↑

Have something to share?

Join me for a conversation on ClarisTalk AI.

Schedule a recording →