MBS FileMaker Plugin, version 14.4pr1

New in this prerelease of version 14.4 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.


Vienna Calling

Looks like we may have a successor for dotfmp coming to Wien:

We're excited to invite you to the next unconference for FileMaker enthusiasts, set to take place in Vienna from June 4-7, 2025.

After the success of dotfmp.berlin, the desire for an event that fosters open discussions, interactive workshops, and collaborative break-out sessions remains strong. We're in the process of securing a venue that will perfectly cater to our needs for this dynamic and engaging gathering.

To help us plan effectively, please let us know if you can join us by preregistering at the following link. (even let us know if you can`t make it)

If you have friends who might also be interested in joining us in Vienna you are welcome to send them this link.

We value your feedback and are eager to collaboratively create an event that surpasses expectations.

Looking forward to your participation,

the Vienna Calling Team!

Please use the link to add yourself to the list of interested people. We look forward to meet you in Vienna!
Thanks to 72solutions for taking the initiative to continue what Egbert started with dotfmp.

MBS FileMaker Plugin 14.3 News

In this article Stefanie introduces you to the new functions from the MBS FileMaker Plugin in version 14.3.

Python

I would like to introduce you to the highlight of this release right at the beginning. You can now use Python in your projects with the help of the MBS FileMaker Plugin. This programming language, which appeared in the 90s, is one of the most popular of its kind and is used by many developers. We are therefore pleased to be able to open up this world to you in this release. Use our Python functions to load a local Python library and evaluate expressions or run scripts. Get and set variables in Python to exchange data in memory. The Python code can optionally query records from FileMaker using ExecuteSQL or Evaluate functions.

We discuss this topic in more detail in our blog article Using Python in FileMaker. Take a look at this article and take a dip into the world of Python with FileMaker.

(more)

Claris Academy Badges

Collect them all and show that you know something about Claris FileMaker:

For you and your colleagues this is a great way to spend some time learning a few new details at the Claris Academy and then finish the tests with success.


Linux architecture confusion

A common problem clients have is to install the right plugin file on Linux. It seems to confuse some clients which Linux variant they have and then the plug-in won't load.

Plugin location

The MBS Plugin on a server goes into three folders:

FileMaker Server/Database Server/Extensions
FileMaker Server/Web Publishing/publishing-engine/cwpc/Plugins/
FileMaker Server/Web Publishing/publishing-engine/wip/Plugins/

First is for server side scripts, second for WebDirect and third for Data API. Once you put the plugin into the folders, check admim-console to activate plugins for all three and for server scripting activate MBS plugin. If the plugin doesn't show there, you may need to restart server.

Once plugin is loaded, you should find new log files in your Logs folder.

(more)

MBS FileMaker Plugin 14.3 for Claris FileMaker

Nickenich, Germany - (July 9th, 2024) -- Monkeybread Software today is pleased to announce MBS FileMaker Plugin 14.3 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.3 has been updated and now includes over 7400 different functions, and the versatile plugin has gained more new functions:

Use Python scripts in your FileMaker scripts. Use our Python functions to load a local Python library and evaluate expressions or run scripts. Get and set variables in Python to exchange data in memory. The Python code can optionally query records from FileMaker using ExecuteSQL or Evaluate functions.

Our CURL functions got enhanced to better handle MQTT connections. Use CURL.SetMQTTScript to set a script to be called when messages arrive and CURL.GetMQTTMessages to get the received messages. The debug log shows the URL for the request for helping you to debug the scripts.

If you use our Drag & Drop functions, you can use an overlay window as the drop target. Use DragDrop.AttachToOverlay function to attach a drop area on the overlay and let the user drop files on the overlay. Your script decides what to do with the files.

We got the WebView.SetVirtualHostNameToFolderMapping function to create new virtual host mapping for the WebViewer on Windows. It allows you to redirect requests to a specific domain to html files in a local folder.

We added six more SetTag functions for CFunction, CLibrary, Dictionary, Java, Mutex, and Schedule objects. This allows you to store additional information with the plugin object, e.g. a record identifier.

In DynaPDF you can now keep annotations from flattening in DynaPDF.FlattenAnnots function, if DynaPDF doesn't recognize them. The DynaPDF.Parser.FindText function can now skip sorting with the new SearchAsIs flag. You can enable an image cache for DynaPDF and change line annotation's coordinates.

Our calculation dialog tools got updated to allow using shift key to check syntax, evaluate or format only a selection of text. The code formatting can now detect lines with semicolon first and format the whole text this way. You can pre fill the list of global variables for auto complete with a list of names with SyntaxColoring.AutoCompleteVariables.SetGlobals function.

We fixed the UNNotification functions to work better in FileMaker 21, the SystemInfo.isSequoia can detect the next MacOS version and SystemInfo.MacMemoryHostStatistics provides detailed memory statistics. Use Window.HasFormattingBar to check if FileMaker shows the formatting bar in FileMaker Pro on macOS and Windows. Use FM.RecordStatistics to query size of a record and use Archive.CompressText to add text to a new archive.

Finally we updated CURL to version 8.8.0, DynaPDF to 4.0.89.256, SQLAPI to 5.3.2, SQLite to 3.46.0, LibXL to 4.3, the plugin SDK and Xcode to version 15.4.

See release notes for a complete list of changes.


Neues MBS Plugin 14.3 für Claris FileMaker

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

Verwenden Sie Python-Scripts in Ihren FileMaker-Scripts. Verwenden Sie unsere Python-Funktionen, um eine lokale Python-Bibliothek zu laden und Berechnungen auszuwerten oder Scripts auszuführen. Holen und setzen Sie Variablen in Python, um Daten im Speicher auszutauschen. Der Python-Code kann optional mit ExecuteSQL oder Evaluate-Funktionen Daten aus FileMaker abfragen.

Unsere CURL-Funktionen wurden verbessert, um besser mit MQTT-Verbindungen umgehen zu können. Verwenden Sie CURL.SetMQTTScript, um ein Skript zu setzen, das aufgerufen wird, wenn Nachrichten ankommen, und CURL.GetMQTTMessages, um die empfangenen Nachrichten abzufragen. Das Debug-Protokoll zeigt die URL für die Anfrage an, um Ihnen bei der Fehlersuche in den Skripten zu helfen.

Wenn Sie unsere Drag & Drop-Funktionen verwenden, können Sie ein Overlay-Fenster als Drop-Ziel verwenden. Verwenden Sie die Funktion DragDrop.AttachToOverlay, um einen Drop-Bereich auf dem Overlay anzulegen. Der Benutzer kann dann Dateien auf das Overlay ziehen. Ihr Skript kann dann entscheiden, was Sie mit den Dateien machen.

Wir haben die Funktion WebView.SetVirtualHostNameToFolderMapping, um eine neue virtuelle Host-Zuordnung für den WebViewer unter Windows zu erstellen. Damit können Sie Anfragen an eine bestimmte Domäne auf HTML-Dateien in einem lokalen Ordner umleiten.

Wir haben sechs weitere SetTag-Funktionen für CFunction-, CLibrary-, Dictionary-, Java-, Mutex- und Schedule-Objekte hinzugefügt. Damit können Sie zusätzliche Informationen mit dem Plugin-Objekt speichern, z. B. einen Primärschlüssel.

In DynaPDF können Sie nun bei der DynaPDF.FlattenAnnots Funktion verhindern, dass Anmerkungen eingeebnet werden, wenn DynaPDF sie nicht erkennt. Die DynaPDF.Parser.FindText Funktion kann jetzt mit dem neuen SearchAsIs Flag die Sortierung überspringen. Sie können einen Bild-Cache für DynaPDF aktivieren und die Koordinaten von Linienanmerkungen ändern.

Unsere Berechnungsdialog-Tools wurden aktualisiert und erlauben nun die Verwendung der Umschalttaste, um die Syntaxprüfung, das Formatieren oder Ausführen auf eine Textauswahl zu beschränken. Die Code-Formatierung kann nun Zeilen mit Semikolon am Anfang erkennen und den gesamten Text auf diese Weise formatieren. Mit der Funktion SyntaxColoring.AutoCompleteVariables.SetGlobals kann die Liste der globalen Variablen für die automatische Vervollständigung mit einer Liste von Namen vorbelegt werden.

Wir haben die UNNotification-Funktionen verbessert, damit sie in FileMaker 21 besser funktionieren, SystemInfo.isSequoia kann die nächste MacOS-Version erkennen und SystemInfo.MacMemoryHostStatistics liefert detaillierte Speicherstatistiken. Verwenden Sie Window.HasFormattingBar, um zu prüfen, ob FileMaker die Formatierungsleiste in FileMaker Pro unter macOS und Windows anzeigt. Verwenden Sie FM.RecordStatistics, um die Größe eines Datensatzes abzufragen, und verwenden Sie Archive.CompressText, um einem neuen Archiv Text hinzuzufügen.

Schließlich haben wir CURL auf Version 8.8.0, DynaPDF auf 4.0.89.256, SQLAPI auf 5.3.2, SQLite auf 3.46.0, LibXL auf 4.3, das Plugin SDK und Xcode auf Version 15.4 aktualisiert.

Alle Änderungen in den Release Notes


Is there a formatting bar?

When you like to position something in a window in FileMaker Pro, you may wonder what toolbars are visible to the user. The user may have the normal toolbar and below and for some toolbars you an ask the state, but not for the formatting bar.

(more)

Compress and Send

If your user needs to compress one file and send it via email, they can compress the file in Finder or Explorer and attach the file to an email and send it off. But what if you ned to do this 100 times and you need a script to do this?

 

Send XML File as Zip

 

Let's start with a XML (or JSON) export from FileMaker which you like to email with MBS FileMaker Plugin. You could just add the XML directly as an attachment with SendMail.AddAttachmentText function and call the job done:

 

Set Variable [ $r ; Value: MBS( "SendMail.AddAttachmentText"; $email; $XML; "UTF-8"; "export.xml"; "application/xml") ]

 

But let's use our new Archive.CompressText function to compress the text to a zip file directly. Then we can attach the zip with Archive.CompressContainer function to a new email and send it later. When compressing we use zip as format with deflate as compression algorithm, which is the standard one for zip files. There is an option we use to set compression level to 9 for high. Yes, if data would be already compressed, we could use level 0 for no compression. We use UTF-8 for the encoding of the XML file, but please make sure the XML file has UTF-8 specified as encoding in the header line if it exists. Here is the sample script:

 

# get some XML

Set Variable [ $XML ; Value: "<test>Hello</test>" ]

# Compress it

Set Variable [ $CompressedXML ; Value: MBS( "Archive.CompressText"; "zip"; "deflate"; "export.zip"; "export.xml"; $xml; "UTF-8"; "compression-level=9") ]

# now add to email

Set Variable [ $email ; Value: MBS( "SendMail.CreateEmail") ]

Set Variable [ $r ; Value: MBS( "SendMail.AddAttachmentContainer"; $Email; $CompressedXML; "export.zip"; "application/zip" ) ]

Set Variable [ $r ; Value: MBS( "SendMail.SetPlainText"; $email; "Dear " & Contacts::FullName & ¶ & ¶ & "Attached you find the export from " & Get(CurrentDate ) & ¶ & ¶ & "Greetings" & ¶ & "Your FileMaker Server") ]

(more)

MBS FileMaker Plugin, version 14.3pr7

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.


MBS @ FMTraining.TV - The FileMaker MonkeyBread Plug-in Q&A

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 error handling with ClearErrors and ErrorLog, HadErrors, AddToErrorLog, Text.TextToHTML and DynaPDF.CreateTextField functions.

(more)

MBS FileMaker Plugin, version 14.3pr6

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.


Archives

Jul 2024
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