Our Blog   Our Claris FileMaker Blog   Our Xojo Blog   Archive     Follow us on Mastodon, Twitter, Xing, LinkedIn or Facebook.

MBS FileMaker Plugin, version 14.3pr4

New in this prerelease of version 14.3 of the MBS FileMaker Plugin: Download at monkeybreadsoftware.com/filemaker/files/Prerelease/

You can subscribe to our FileMaker mailing list to get notified for new pre-release and release versions.


Use web viewer in FileMaker to show 3D models

Recently a client asked how to show 3D models in FileMaker on Windows. We looked for various solutions and on the end came to using JavaScript viewer for 3D objects: js-3d-model-viewer.

To show a file, you would export it to a temporary folder with FileMaker. You put the JavaScript file into the same folder and have your script export also the html file there. The HTML file needs to reference the model file by name. Although you could just name the model file the same each time and just use the same html.

(more)

MBS @ dotfmp 2024

We recorded the MBS Plugin talk at the dotfmp 2024 FileMaker conference in Berlin:

(more)

MBS FileMaker Plugin, version 14.3pr3

New in this prerelease of version 14.3 of the MBS FileMaker Plugin: Download at monkeybreadsoftware.com/filemaker/files/Prerelease/

You can subscribe to our FileMaker mailing list to get notified for new pre-release and release versions.


Store large texts as container fields

Recently at the dotfmp conference, we talked about storing text vectors for LLMs in FileMaker as container instead of text to save space. But does it? Let's check with current FileMaker Pro.

We can store text in a FileMaker database. The size to store the record is a bit more than the text. Our test table has primary key, two time stamps and the account name for creation and modification. With the overhead for managing the blocks this takes about 270 bytes per record in our test database.

If you store the text in a container field, you basically get the text stored and there is a 12 byte overhead for the container, if you just write text there.

Set Field [ Test::ContainerField ; $text ]

Alternatively we can package the text as UTF-8 with Text.WriteToContainer function. That will package the text as a file. This causes an overhead of about 200 bytes as multiple streams of data are managed including a file name. Total size of the container value itself is 36 bytes more than the text length. But by using container instead of a text field, we can save on indexes.

(more)

MBS FileMaker Plugin, version 14.3pr2

New in this prerelease of version 14.3 of the MBS FileMaker Plugin: Download at monkeybreadsoftware.com/filemaker/files/Prerelease/

You can subscribe to our FileMaker mailing list to get notified for new pre-release and release versions.


Additional variable levels in FileMaker with MBS Plugin

You may know that FileMaker has variables within Let(), $ variables in a script and $$ variables as per file globals. But MBS FileMaker Plugin provides higher levels. Our plugin based variables (see FM.VariableSet) stay in the process space of the current loaded plugin. But there is also shared memory to store something per computer, independent of the current application.

On a FileMaker Server you can have three times the plugin installed and also on each web direct worker. You may run one or more FileMaker Pro copy on a machine and each has plugin managed variables for itself. But they can also access the shared memory (see SharedMemory.SetValue) on the same machine and share variables.

(more)

MBS @ FMTraining.TV - Exporting FileMaker Settings into Excel Files using the MonkeyBread Plug-in with Christian Schmitz

Check out the FMTraining.tv website. Richard Carlton and his team do a daily free live stream about FileMaker to watch.

A few days ago Christian Schmitz from Monkeybread Software joined a live episode to talk a bit about the MBS FileMaker Plugin. Watch it on YouTube.

We talk about XL functions in MBS FileMaker Plugin to do custom exports.

(more)

FileMaker 2024 released

Claris released today FileMaker 2024 in version 21.0. Works fine with MBS FileMaker Plugin 14.2.

You get new AI script steps, writing via Execute FileMaker Data API script step, Let's Encrypt certificates (instructions here), an Open Quickly shortcut, Revert transactions in subscripts and you may enjoy a few bug fixes. But please read details in the release notes:

(more)

MBS FileMaker Plugin, version 14.3pr1

New in this prerelease of version 14.3 of the MBS FileMaker Plugin:
  • Added Python functions.
  • Added Plugin.LockedFunctions function.
  • Enhanced execute button for calculation dialog to allow pressing option key to only evaluate the selected text.
  • Updated for future FileMaker version.
  • Improved variable auto completion to better handle custom functions starting with underscore.
  • Updated to newer plugin SDK for FileMaker 21.
  • Fixed problem with JSON returning negative floating point numbers without leading 0.
  • Updated to Xcode 15.4.
  • Updated SQLAPI to version 5.3.2.
  • Fixed the WordFile.ReplaceTag function, which broke in 14.2.
  • Improved the formatting code for calculations to handle special words like or and and better.
  • Update LibXL libraries for macOS and Windows to version 4.3.
  • Fixed a bug in WebLink() function in DynaPDFMBS class returning negative number.
  • Changed XL.Book.Version to have the book parameter optional.
  • Added EmailParser.ReleaseAll function.
  • Renamed EmailParser.Free to EmailParser.Release, but old name will stay valid.
  • Fixed a memory leak in loading Excel file from disk with XL.LoadBook function.
  • Fixed a problem with XL functions where license key was not recognized properly.
  • Fixed a problem with copying script text would duplicate field names or calculations.
  • Changed trace function to not log the password for a Files.Mount call.
  • Added check to XL.Initialize and DynaPDF.Initialize to return an error if the license key includes invalid characters like a space character.
  • Added Mutex.ReleaseAll function.
  • Renamed Mutex.Free to Mutex.Release, but old name will stay valid.
  • Updated SQLite to version 3.46.0.
  • Updated our ICU integration for SQLite to the new SQLite version.
  • Updated DynaPDF to version 4.0.87.251.
  • Enhanced format button for calculation dialog to allow pressing shift key to only format the selected text.
  • Updated curl to version 8.8.0
  • Enhanced check syntax button for calculation dialog to allow pressing shift key to only check the selected text.
Download at monkeybreadsoftware.com/filemaker/files/Prerelease/

You can subscribe to our FileMaker mailing list to get notified for new pre-release and release versions.


FileMaker Konferenz 2024 in Malbun - Noch vier Monate

Vom 1. bis 4. Oktober 2024 findet die nächste deutschsprachige FileMaker Konferenz in Malbun, Liechtenstein statt. Die Tickets für die Konferenz sind jetzt verfügbar, bis 20. April noch zum Frühbucherpreis.

Die Hotelzimmer im JUFA Hotel sind begrenzt. Bitte dort bald ein Zimmer buchen. Wenn das JUFA Hotel voll ist, werden Sie automatisch ein Zimmer aus einem anderen Hotel in Malbun bekommen.

Monkeybread Software ist als Sponsor mit Stand und Session vor Ort. Bitte kommen Sie mit Ihren Fragen vorbei!

Wir haben einen MBS Plugin Vortrag, Stefanie präsentiert zu eigenen Funktionen bzw. Entspannungstechniken und wir planen noch für den 1. Oktober einen Wandertag ein (Anmeldung bei uns). Wer mit möchte, kann dann bei hoffentlich schönem Wetter mit uns durch die Berge wandern. z.B. von Malbun aus am Sass-Seeli vorbei zur Alpe Guschg.

(more)

MBS @ FMTraining.TV - The Claris FileMaker MonkeyBread Plug-in 14.2 Release

Check out the FMTraining.tv website. Richard Carlton and his team do a daily free live stream about FileMaker to watch.

A few days ago Christian Schmitz from Monkeybread Software joined a live episode to talk a bit about the MBS FileMaker Plugin. Watch it on YouTube.

We talk about MBS Plugin 14.2 release: Announcement, new functions and release notes.

(more)

News in MBS FileMaker Plugin 14.2

In this article we want to introduce you the new functions from the MBS FileMaker Plugin in version 14.2.

XL

For MBS FileMaker Plugin 14.2 we include new XL functions to create conditional formatting in an Excel file created in a script. While you can always load an existing document with conditional formatting or diagrams and just fill the cells with data, we now can create the rules for conditional formatting in a script. Our blog article explains exactly how this works: Conditional Formatting in Excel exports from FileMaker. Just take a look and try it out.


(more)

Rome FileMaker Week 2024

Once again we have a FileMaker conference in Rome. The team of FMGuru and Direct Impact Solutions Group organizes a whole week of events from 7th to 13th October 2024 including sight seeing, a three day conference, a Claris partner meeting and several evening events to meet attendees.

We are happy to see support from Claris with them sending staff to present what is new in FileMaker products as well as Claris Studio.

Monkeybread Software is one of the sponsors and we look forward to talk about the MBS Plugin at the conference. This is your chance to directly ask Christian about the plugin and to suggest new features!

(more)

MBS Plugin 14.2 for Claris FileMaker

Nickenich, Germany - (May 14th, 2024) -- Monkeybread Software today is pleased to announce MBS FileMaker Plugin 14.2 for Claris FileMaker for macOS, iOS, Linux and Windows, the latest update to their product that is easily the most powerful plugin currently available for Claris FileMaker produce line. As the leading database management solution for Windows, macOS, iOS and the web, the Claris FileMaker Pro Integrated Development Environment supports a plugin architecture that can easily extend the feature set of the application. MBS FileMaker Plugin 14.2 has been updated and now includes over 7300 different functions, and the versatile plugin has gained more new functions:

We upgraded our JSON functions with the JSON.Merge function to merge two JSON blocks or arrays. This allows to easily merge two arrays of JSON data for example. Since you may need to decide dynamically on what to replace with JSON.Replace, we got a new JSON.ReplaceEvaluate function to run an expression to build the new JSON to replace the old value. Use JSON.CurrentMatch to get the current found JSON.

The XL functions can create conditional formatting in your scripts. Use the XL.Book.AddConditionalFormat function to define the format and use XL.Sheet.AddConditionalFormatting to define the rules. This could be a simple comparison or include a calculation in Excel. The new LibXL version can better handle SVG, so we updated our XL.Book.GetPicture function.

When you build your iOS app using the FileMaker iOS SDK and you embed our plugin, then you can enjoy our new printing functions for iOS. Use PDFKit.SelectPrinter function to pick a printer and then use PDFKit.Print to print with or without dialog. A point of sale application can print receipts without a dialog to the printer selected by script.

Our MongoDB functions got improved with new functions to execute custom commands. If you expect a result, please use MongoDB.ClientCommandQuery instead of MongoDB.ClientCommand and loop over the returned documents. You can set the app name to be reported to the server on connecting and query the credentials used.

Our CURL functions can now pick the SSL backend. By default we use OpenSSL, but you can switch to SecureTransport on macOS or SecureChannel on Windows using CURL.SetSSLBackend function, if you prefer the local SSL engines. The plugin comes with the newer Apple IDN implementation for CURL, which we contributed to the project recently.

For the goodies in our plugin for macOS, we got a new label in the field picker to jump the table occurence you used the last time. Just click on the name to jump to that table occurence without manually picking it in the popup menu.

Use the Math.MovingAverage function to calculate the moving average with three different modes on the fly, check out Container.RemovePreview to remove preview images for containers and use GMImage.Flatten to remove alpha channel of an image and substitute with a background color. The Overlay.Move function can be animated, use Files.IsUserImmutable to check whether a file is locked by the user and configure the WebView on Windows to decide whether to hide PDF toolbar items or disable swipes.

Finally we updated CURL to version 8.7.1, DynaPDF to 4.0.87.250, LibXL to 4.3.0, SQLAPI to 5.3.1, SQLite to 3.45.3 and Xcode to version 15.3.

See release notes for a complete list of changes.


Neues MBS Plugin 14.2 für Claris FileMaker

14. Mai 2024 - Monkeybread Software veröffentlicht heute das MBS FileMaker Plugin für Claris FileMaker in Version 14.2, mit inzwischen über 7300 Funktionen eines der größten FileMaker Plugins überhaupt. Hier einige der Neuerungen:

Wir haben unsere JSON-Funktionen um die Funktion JSON.Merge erweitert, mit der zwei JSON-Blöcke oder Arrays zusammengeführt werden können. Da Sie möglicherweise dynamisch entscheiden müssen, was mit JSON.Replace zu ersetzen ist, haben wir eine neue Funktion JSON.ReplaceEvaluate eingeführt, die einen Ausdruck ausführt, um das neue JSON zu erstellen, das den alten Wert ersetzt. Verwenden Sie JSON.CurrentMatch, um das aktuell gefundene JSON zu erhalten.

Mit den XL-Funktionen können Sie bedingte Formatierungen in Ihren Skripten erstellen. Verwenden Sie die Funktion XL.Book.AddConditionalFormat, um das Format zu definieren, und verwenden Sie XL.Sheet.AddConditionalFormatting, um die Regeln zu definieren. Dies könnte ein einfacher Vergleich sein oder eine Berechnung in Excel beinhalten. Die neue LibXL-Version kann besser mit SVG umgehen, daher haben wir unsere Funktion XL.Book.GetPicture aktualisiert.

Wenn Sie Ihre iOS-App mit dem FileMaker iOS SDK erstellen und unser Plugin einbetten, können Sie unsere neuen Druckfunktionen für iOS nutzen. Verwenden Sie die Funktion PDFKit.SelectPrinter, um einen Drucker auszuwählen, und verwenden Sie dann PDFKit.Print, um mit oder ohne Dialog zu drucken. Eine Kassenanwendung kann Quittungen ohne Dialog auf dem per Skript ausgewählten Drucker drucken.

Unsere MongoDB-Funktionen wurden um neue Funktionen zur Ausführung benutzerdefinierter Befehle erweitert. Wenn Sie ein Ergebnis erwarten, verwenden Sie bitte statt MongoDB.ClientCommand die MongoDB.ClientCommandQuery und führen Sie eine Schleife über die zurückgegebenen Dokumente aus. Sie können den App-Namen festlegen, der bei der Verbindung an den Server gemeldet werden soll, und die verwendeten Anmeldeinformationen abfragen.

Unsere CURL-Funktionen können nun das SSL-Backend auswählen. Standardmäßig verwenden wir OpenSSL, aber Sie können mit der Funktion CURL.SetSSLBackend zu SecureTransport unter macOS oder SecureChannel unter Windows wechseln, wenn Sie die lokalen SSL-Engines bevorzugen. Das Plugin kommt mit der neuere Apple IDN-Implementierung für CURL, die wir kürzlich zum Projekt beigesteuert haben.

Für die Goodies in unserem Plugin für macOS haben wir ein neues Label in der Feldauswahl, um zu der Tabelle zu springen, die Sie das letzte Mal verwendet haben. Klicken Sie einfach auf den Tabellennamen, um zu dieser Tabelle zu springen, ohne sie manuell im Popupmenü auszuwählen.

Verwenden Sie die Funktion Math.MovingAverage, um den gleitenden Durchschnitt mit drei verschiedenen Modi im laufenden Betrieb zu berechnen, probieren Sie Container.RemovePreview aus, um Vorschaubilder für Container zu entfernen, und verwenden Sie GMImage.Flatten, um den Alphakanal eines Bildes zu entfernen und durch eine Hintergrundfarbe zu ersetzen. Die Funktion Overlay.Move kann animiert werden, mit Files.IsUserImmutable können Sie prüfen, ob eine Datei vom Benutzer gesperrt ist, und die WebView unter Windows kann so konfiguriert werden, dass sie PDF-Symbolleistenelemente ausblendet oder Swipes deaktiviert.

Schließlich haben wir CURL auf Version 8.7.1, DynaPDF auf 4.0.87.250, LibXL auf 4.3.0, SQLAPI auf 5.3.1, SQLite auf 3.45.3 und Xcode auf Version 15.3 aktualisiert.

Alle Änderungen in den Release Notes.


Storing data in the FileMaker schema

Since we all love to make clones for using the data migration tool, we like to pass through some data with the clone. But a clone can't have records!

If we like to pass data in the clone like a version number, we need to carry it inside the schema. This happens by putting the text into the default value of a field. Like having a special table for global settings and there a version field with the version number as default value.

 

Add field with default

 

You can modify the schema on FileMaker Pro, if it is not busy. So we usually do it on idle time with our FM.ExecuteFileSQLOnIdle function and run it in a script pause. The SQL command uses ALTER command with the ADD variant to add the field and we pass the default value in single quotes after the DEFAULT keyword. After the script pause, you can inspect error status and see whether the command was successful. Here is a sample script:

 

Set Variable [ $r ; Value: MBS("FM.ExecuteFileSQLOnIdle";"ALTER TABLE \"Test\" ADD \"Version\" VARCHAR DEFAULT '1.2' "; Get(FileName)) ]

Pause/Resume Script [ Duration (seconds): ,2 Duration (seconds): .2 ]

Set Variable [ $ErrorCode ; Value: MBS("FM.ExecuteSQL.LastError") ]

Set Variable [ $Message ; Value: MBS("FM.ExecuteSQL.LastErrorMessage") ]

If [ $ErrorCode = 0 ]

Show Custom Dialog [ "Added field" ; "Okay" ]

Else

Show Custom Dialog [ "Added field" ; $Message ]

End If


(more)

MBS FileMaker Plugin, version 14.2pr5

New in this prerelease of version 14.2 of the MBS FileMaker Plugin: Download at monkeybreadsoftware.com/filemaker/files/Prerelease/, in DropBox folder or ask for being added to the DropBox shared folder.

You can subscribe to our FileMaker mailing list to get notified for new pre-release and release versions.


FileMaker MonkeyBread Plug-in Presentation with Christian Schmitz

Check out the FMTraining.tv website. Richard Carlton and his team do a daily free live stream about FileMaker to watch.

A few days ago Christian Schmitz from Monkeybread Software joined a live episode to talk a bit about the MBS FileMaker Plugin. Watch it on YouTube.

We go through the resent MBS Presentation from the last conference and discuss the individual features.

(more)

FileMaker Hosting for 1 to 4 users

You may know that Claris itself only offers 5 seats or more for their Claris Cloud or on-premise hosting. But in the last days FMCloud.fm started listing a personal plan starting at $29 USD per user and months with annual billing.

This is a great way for having a small company with one to four people host their database on a server in a nearby data center. And the price includes the FileMaker license!

Think about it: You could buy a single box of FileMaker Pro for $540 USD to run FileMaker locally or pay $350 per year to host your database on a server with one user and access it from anywhere using FileMaker Pro, FileMaker Go or Web Direct.

(more)

Older blog entries:

2024-05-06 JSON Replace with evaluate
2024-05-03 ISO FileMaker Magazine: Copy, Paste & Import Spreadsheet Data
2024-05-02 MBS FileMaker Plugin, version 14.2pr4
2024-04-28 MBS @ FMTraining.TV - Scanning in FileMaker with the MonkeyBread Plug-in
2024-04-18 MBS Plugin versions shipped
2024-04-17 Recent additions to the CURL project from me
2024-04-17 MBS @ FMTraining.TV - Printing in FileMaker with the MonkeyBread Plug-in
2024-04-16 MBS FileMaker Plugin, version 14.2pr3
2024-04-15 Controlled printing for iOS in FileMaker
2024-04-11 MBS FileMaker Plugin, version 14.2pr2
2024-04-10 MBS @ FMTraining.TV - The FileMaker Monkeybread Plug-in 14.1 with Christian Schmitz
2024-04-10 LibXL 4.3.0 has been released
2024-04-10 Custom progress bars for FileMaker
2024-04-08 Conditional Formatting in Excel exports from FileMaker
2024-04-08 CURL Up 2024
2024-04-07 FileMaker Conference dotfmp.berlin 2024
2024-04-05 Page Layouting in DynaPDF
2024-04-03 MBS FileMaker Plugin - Valencia 2024
2024-04-02 MBS FileMaker Plugin, version 14.2pr1
2024-04-01 Company's 24th Birthday

Archives

Jun 2024
May 2024
Apr 2024
Mar 2024
Feb 2024
Jan 2024
Dec 2023
Nov 2023
Oct 2023
Sep 2023
Aug 2023
Jul 2023
Jun 2023
May 2023
Apr 2023
Mar 2023
Feb 2023
Jan 2023
Dec 2022
Nov 2022
Oct 2022
Sep 2022
Aug 2022
Jul 2022
Jun 2022
May 2022
Apr 2022
Mar 2022
Feb 2022
Jan 2022
Dec 2021
Nov 2021
Oct 2021
Sep 2021
Aug 2021
Jul 2021
Jun 2021
May 2021
Apr 2021
Mar 2021
Feb 2021
Jan 2021
Dec 2020
Nov 2020
Oct 2020
Sep 2020
Aug 2020
Jul 2020
Jun 2020
May 2020
Apr 2020
Mar 2020
Feb 2020
Jan 2020
Dec 2019
Nov 2019
Oct 2019
Sep 2019
Aug 2019
Jul 2019
Jun 2019
May 2019
Apr 2019
Mar 2019
Feb 2019
Jan 2019
Dec 2018
Nov 2018
Oct 2018
Sep 2018
Aug 2018
Jul 2018
Jun 2018
May 2018
Apr 2018
Mar 2018
Feb 2018
Jan 2018
Dec 2017
Nov 2017
Oct 2017
Sep 2017
Aug 2017
Jul 2017
Jun 2017
May 2017
Apr 2017
Mar 2017
Feb 2017
Jan 2017
Dec 2016
Nov 2016
Oct 2016
Sep 2016
Aug 2016
Jul 2016
Jun 2016
May 2016
Apr 2016
Mar 2016
Feb 2016
Jan 2016
Dec 2015
Nov 2015
Oct 2015
Sep 2015
Aug 2015
Jul 2015
Jun 2015
May 2015
Apr 2015
Mar 2015
Feb 2015
Jan 2015
Dec 2014
Nov 2014
Oct 2014
Sep 2014
Aug 2014
Jul 2014
Jun 2014
May 2014
Apr 2014
Mar 2014
Feb 2014
Jan 2014
Dec 2013
Nov 2013
Oct 2013
Sep 2013
Aug 2013
Jul 2013
Jun 2013
May 2013
Apr 2013
Mar 2013
Feb 2013
Jan 2013
Dec 2012
Nov 2012
Oct 2012
Sep 2012
Aug 2012
Jul 2012
Jun 2012
May 2012
Apr 2012
Mar 2012
Feb 2012
Jan 2012
Dec 2011
Nov 2011
Oct 2011
Sep 2011
Aug 2011
Jul 2011
Jun 2011
May 2011
Apr 2011
Mar 2011
Feb 2011
Jan 2011
Dec 2010
Nov 2010
Oct 2010
Sep 2010
Aug 2010
Jul 2010
Jun 2010
May 2010
Apr 2010
Mar 2010
Feb 2010
Jan 2010
Dec 2009
Nov 2009
Oct 2009
Sep 2009
Aug 2009
Jul 2009
Apr 2009
Mar 2009
Feb 2009
Dec 2008
Nov 2008
Oct 2008
Aug 2008
May 2008
Apr 2008
Mar 2008
Feb 2008
XML: RSS Feed XML: Atom Feed