Our Blog, Filemaker only, Xojo only, Archive (older), Follow us on Twitter, Xing, LinkedIn or Facebook.


Search field in MBS FileMaker Plugin for tables and fields


For the next plugin version, we add a new search field for database design dialog to search fields and tables for name:



When you stop typing or press return, we search the table for the text. If no text is found, we beep. Otherwise, we jump to the next line which matches. This way you can quickly find all names, all fields with birth or whatever you look for. The visible text is only searched, so if there is text in a formula after a few paragraphs, we may not see it.

Coming soon for MBS FileMaker Plugin 8.1pr5 or if like to try on the weekend, drop us an email.

MBS Workshop @ Denkform


In Zusammenarbeit mit der DenkForm GmbH bieten wir eine Schulung zum MBS Plugin an. Am 1. März 2018 (auch 3. Mai 2018, 6. Dezember 2018, 7. März 2019) können Sie in Hofheim am Taunus an einer eintägigen Schulung teilnehmen. Lernen Sie die über 5000 Funktionen einmal näher kennen und wie Sie sie effektiv einsetzen. Sammeln Sie Ideen und verbessern Sie ihre FileMaker Lösungen durch den Einsatz unseres Plugins.

Das Monkeybread Software Plugin für FileMaker stellt eine vielseitige Erweiterung der eigenen Datenbank dar. Der Kurs bietet nicht nur einen tiefgreifenden Überblick in die Benutzung und Entwicklung, sondern bietet auch die Chance das Plugin günstiger zu erstehen.
  • Einführung in das MBS Plugin
  • Überblick über die Funktionsbereiche
  • Neues im MBS Plugin dieses Jahr und in der dann aktuellen Version 7.5
  • Rundgang durch ausgewählte Beispiele
  • Gemeinsames Implementieren von Plugin Funktionen in eine Datenbank.
    • Upload/Download mit CURL auf einen HTTP/FTP Server
    • Ausfüllen eines Formulares auf einer Webseite
    • Bilder bearbeiten
    • PDF Verarbeitung
    • Druckerfunktionen
    • Einbinden von Webservices with JSON/XML für REST/SOAP.
  • Fragen und Antworten
Die Teilnahme kostet 99 Euro inkl. MWSt. und Verpflegung. Trainer ist der Plugin Entwickler und Monkeybread Software Geschäftsführer Christian Schmitz persönlich.

Details und Anmeldung bei der Denkform.

Im Anschluss besteht die Möglichkeit zum FileMaker Rhein-Main Stammtisch zu kommen. Bei einem leckeren Abendessen im Restaurant Bella Bari in der Nähe der Denkform können Sie sich mit anderen FileMaker Entwicklern aus der Gegend austauschen.

PS: Die Mindestteilnehmerzahl wurde erreicht und die Schulung am 1. März findet statt.

DynaPDF Text Position Examples updated


We got a new example for Xojo on how to extract text from a page and know each position of each text chunk. We can even keep track of current state, so we have the fonts ready and can even draw the same text on top of the existing PDF with Xojo. So DynaPDF renders page with here with text in black and we draw in paint event the rectangles for text portions and than draw the same text with Xojo. New is the latest version of the example, where we can now split text per character to get the position of each character. As you can see we now draw each box in green and each character in blue on top of the PDF drawing:



This example uses the DynaPDFParseInterfaceMBS class from DynaPDF Pro to walk over all PDF commands drawing a page, so we get all the text output as well as matrix changes, font setting and state saving & restoring. We keep track of the current matrix with DynaPDFMatrixMBS class and collect the text records with DynapdfTextRecordWMBS class for Unicode or DynapdfTextRecordAMBS for font specific encodings. In latter case we convert the characters using current font to unicode text.

The example is included in 18.1pr4 pre-release.
To use this code in a shipping application, you need to order the DynaPDF Pro license from us for use with the MBS Xojo DynaPDF Plugin.

Older blog post: DynaPDF Text Position Examples

FileMaker Konferenz 2018 in Malbun


Die Anmeldung zur FileMaker Konferenz 2018 ist eröffnet.

Vom 17. bis 20. Oktober diesen Jahres findet die neunte deutschsprachige FileMaker Konferenz in Malbun, Liechtenstein statt. FileMaker Anwender und Entwickler können ihre Teilnahme ab sofort buchen. Anmeldungen bis zum 23. Juni 2018 erhalten einen Frühbucher-Rabatt auf die Konferenzpauschale.

Die Veranstalter vom Verein FM Konferenz erwarten auch 2018 rund 180 Entwickler, Anwender, IT-Fachleute und Entscheidungsträger aus Wirtschaft, Bildung und Verwaltung. Rund um über 25 Fachvorträge und Workshops wird es viel Zeit zum Vernetzen in den gemeinsamen Pausen und beim Abendprogramm geben.

Eventuell gibt es auch 2018 wieder eine MBS Plugin Schulung bzw. Workshop. Hat da jemand Interesse?

Xojo Developer Meeting in Montreal


Due to my trip to Montreal for the Québec FileMaker conference, we have a Xojo developer meeting:

14th March 2018, starting 18:00 o'clock.

Already 7 developers on the list. If you like to join, please contact me soon.

I reserve a table in a nice restaurant and I will be there. You can join and we can shop talk all night. Ask me plugin questions, bring your laptop and show projects.
And of course we discuss latest changes in Xojo, upcoming conferences and what's new in plugins.

Of course it is possible to arrange private meetings for consulting while I am in the city.

MBS FileMaker Plugin, version 8.1pr4


New in this prerelease of version 8.1 of the MBS FileMaker Plugin:
  • Fixed SQL.InsertOrUpdateRecords function (broken in pr2).
  • Fixed Trace.AreErrorNotificationsEnabled.
  • Added timeout for ImageCapture.OpenDevice in case no answer comes from driver.
  • Added WebView.CreateOnPopover function.
  • Changed XML.GetPathValue to return CDATA section as text if possible.
  • Improved Sendmail functions to not encode subject, email names or attachment names, if it contains no special characters in more cases by reducing the characters which trigger encoding.
  • Added option to preferences to block ESC key on Touch Bar and use Option-ESC instead.
  • Changed preferences dialog to shrink on smaller screen resolution and allows scrolling through options.
Download at monkeybreadsoftware.de/filemaker/files/Prerelease/ or ask for being added to the dropbox shared folder.

MBS Xojo Plugins, version 18.1pr4


New in this prerelease of the 18.0 plugins:
  • Improved DynaPDFMBS.TranslateRawCode with new variant with more parameters.
  • Added GetSpaceWidth and GetTextWidth functions to DynaPDFMBS.
  • Fixed EncryptMBS for 64-bit.
  • Added Files and URLs functions to NSOpenPanelMBS class to return array of selected files.
  • Improved CURLEMailMBS class to not encode subject, email names or attachment names, if it contains no special characters in more cases by reducing the characters which trigger encoding.
  • Added LibUSBDeviceMBS and related classes to use LibUSB for cross platform USB functions.
Download: monkeybreadsoftware.com/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

WebViewer on Popover with MBS Plugin


You like to get a custom webview on a popover?

Popover with Webview

With next MBS Plugin, you can put a WebKit 1.x web view on the Popover and load whatever you like.
The WebView.CreateOnPopover function will place the web view there until you close it later with WebView.Close.
Do not hesitate to contact us if you like to try the new plugin on the weekend.

LibUSB for Xojo in next MBS Plugins


Quite a few Xojo developers use our MBS Xojo USB Plugin to connect to devices, do measurements, exchange data and query information for their applications. Wether this is a scale to weight items, barcode devices, various sensors or just a special label printer, we do provide classes to help you.

For some time now we got HIDAPI classes to replace the older MacHID, LinuxHID and WinHID classes to provide a cross platform interface for USB devices with HID protocol.
And now we replace MacUSBConnect and WinUSB classes with our new LibUSB classes.

The new plugin classes are based on the open source LibUSB library, which works on MacOS, Windows and Linux. With quite a few Linux distributions, it comes preinstalled. The library itself is licensed LGPL, so you can load it in commercial applications, but distribute it as DLL/so/dylib file.

The new LibUSBDeviceMBS class provides functions to list devices and query information. You can open a connection to a device and transfer data as needed. The example project lists all the devices and even works nice on Raspberry Pi.

Will be included in next prerelease or if you like to try now, please do not hesitate to contact us.

The ESC key on the Touch bar


Do you have a MacBook Pro with Touch Bar?
If yes, how often may you have pressed ESC key in FileMaker unintentionally?

Well, to keep you sane and not loose valuable custom functions by pressing ESC accidentally, we got a new option in MBS Plugin preferences dialog for you:


So optional the MBS FileMaker Plugin 8.1 and newer will be able to block ESC key presses without modifier keys. And if you press option key, we remove the flag for the option key from the event and pass it though to FileMaker. So ESC alone is blocked, but Option-ESC goes through as if you pressed ESC.

The feature only takes effect on MacBook Pros with TouchBar, only inside FileMaker application, only if enabled, and only if you use the internal keyboard.

If you like to try this today, please get in touch.

MBS Xojo Plugins, version 18.1pr3


New in this prerelease of the 18.0 plugins: Download: monkeybreadsoftware.com/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

MBS FileMaker Plugin, version 8.1pr3


New in this prerelease of version 8.1 of the MBS FileMaker Plugin:
  • Changed SendMail functions to replace NULL characters with space in email texts to avoid truncation of texts.
  • Updated LibXL to version 3.8.2.
  • Added DynaPDF.List and GMImage.List functions.
  • Improved CURL.SetupAWS method to work better with Amazon S3 and also with Dell ECS.
  • Added new Move cursor for DragDrop.SetCursor.
  • Updated LibTiff to version 4.0.9 including support for BigTiff format.
Download at monkeybreadsoftware.de/filemaker/files/Prerelease/ or ask for being added to the dropbox shared folder.

FileMaker, Inc. Launches New Events Web Pages


FileMaker Inc. announced on the community their new events page:

FileMaker, Inc. has created a dedicated web page highlighting upcoming in-person and virtual events submitted by FileMaker partners and enthusiasts around the world. Upcoming workshops, trainings, user group meetups, trade shows, and webinars can all be found in this new area in the Learn section of FileMaker’s website.

See upcoming events in your area and submit your own event by going to filemaker.com/events/.

Additionally, we will send out event notification emails periodically to help drive attendance. Manage your FileMaker email subscription here.


It's a great move to provide a gathering point for events. I do hope all the conferences and local meetings end up being there, so people can easily find them.

Currently, the events page lists over 190 events including 108 trainings, 44 workshops, 5 conferences.

See also MBS FileMaker Events page and our MBS Xojo Events page.

Xojo Meetings for Montreal and Toronto


As I travel to Montreal for the Québec FileMaker conference, I'd love to have some Xojo meetings with local developers:

If you live in this part of Canada, or you like to come over from the USA, please join those surveys to find the perfect date between 12th to 19th March 2018:

Survey for Toronto   Survey for Montreal

I know I have 15 Xojo developers using my plugins in Montreal alone and about 30 in Toronto. If you like to join, please contact me soon.

I reserve a table in a nice restaurant and I will be there. You can join and we can shop talk all night. Ask me plugin questions, bring your laptop and show projects.
And of course we discuss latest changes in Xojo, upcoming conferences and what's new in plugins.

Of course it is possible to arrange private meetings for consulting while I am in the city.

SMTP Server Settings


Sending Emails with various servers can be a challenge. In this blog article we like to collect the settings needed for using our SendMail functions in FileMaker or CURLEmailMBS class in Xojo to send emails. As you see we always prefer to use encryption.

Bei checking certificates, we can detect and avoid giving our password to a transparent proxy. And we enable TLSv1.2 for all here and require encrypted connection. It's important to test and verify this, as I once run into a hotel reading my emails to count them and prevent spamming. (more)

Seven months till European MBS Xojo Conference in Munich


The early bird offer is set to expire in one month (6 months before conference) for our European MBS Xojo Conference 2018 in Munich. If you like to join for the best rate or become a speaker, please contact us soon.

Already 25 attendees are registered from six countries. Reserve your ticket and reserve your hotel room as soon as possible.
Invoices for registered attendees will be written in February.

The schedule:

Sep 5th: Xojo Training in English
Sep 6th: Conference, first day with dinner event
Sep 7th: Conference, second day
Sep 8th: Xojo Training in German

Registration is open. The early bird offer available till 6th March is just 499 Euro plus VAT if needed. Attending the conference costs regularly 699 Euro plus VAT, including food and beverage in the Maritim Hotel as well as an accompanying social program.

Sessions are to be held in English. Our conference is conceived as a networking event for the Xojo community. The conference is an ideal opportunity for sharing your thoughts and your own development experience with fellow users and developers. If you like to hold a presentation, please contact us as soon as possible. Speaker receive discounted tickets.

See also XDC 2018 in Denver in April 2018.

MBS FileMaker Plugin, version 8.1pr2


New in this prerelease of version 8.1 of the MBS FileMaker Plugin: Download at monkeybreadsoftware.de/filemaker/files/Prerelease/ or ask for being added to the dropbox shared folder.

MBS Xojo Plugins, version 18.1pr2


New in this prerelease of the 18.0 plugins:
  • Updated JPEG library to version 9c.
  • Added MemoryStorageMBS.Constructor.
  • Fixed problems with CNContactMBS phoneNumbers and others having wrong return type.
  • Added NSEPSImageRepMBS.pdfImage.
  • Added last error properties to PHPMBS class.
  • Added callXojo function for PHP to trigger event in addition to the callRealbasic function name.
  • Fixed tools plugin to compile with Real Studio 2011.
Download: monkeybreadsoftware.com/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

Using ExecuteSQL with Parameters is important


Today we got a problem with SQL. It’s not the usual SQL injection worries, but more the convenience of building SQL statements containing values, which causes problem.

 

We see a lot of SQL queries to lookup values, but people love to include the

 

MBS( "FM.ExecuteFileSQL"; Get(FileName); "SELECT Name FROM Contracts WHERE ID=" & $ID )

 

Now if ID is a text, but $ID contains the number 1234, this causes an error: 

 

[MBS] ERROR: FQL0018/(1:32): An expression contains incompatible data types.

You would need to use quotes at least:

 

MBS( "FM.ExecuteFileSQL"; Get(FileName); "SELECT Name FROM Contracts WHERE ID= '" & $ID & "'" )

 

Although you don’t see the double quotes having single quotes easily here. This may work, until someone includes a single quote in that variable.

 

When you use parameters in the query, you can avoid this:

 

MBS( "FM.ExecuteFileSQL"; Get(FileName); "SELECT Name FROM Contracts WHERE ID = ?"; 9; 13; $ID )

 

You can pass parameter as text or number even if it does not the match the field type. FileMaker will converted the data type automatically to match.

 

 

Next, lets assume you have a variable containing a number and you make a query

 

Set Variable [ $x ; Value: 123.45 ] 

Show Custom Dialog [ MBS( "FM.ExecuteFileSQL"; Get(FillName); "SELECT Name, Price FROM Items WHERE Price= " & $x; 9; 13 ) ]

 

If $x is a number, it will be converted by FileMake to a text. Or it is a text already with some user entered number. Now if the field is empty, you get a syntax error, because your SQL ends in a = character. But you may have noted that the number is passed directly here without parameter. So a German user typing "123,45" with comma as decimal separator will cause a SQL error. SQL always uses dot as decimal separator, so the query fails in Germany with comma, but works in USA.

 

Show Custom Dialog [ MBS( "FM.ExecuteFileSQL"; Get(FillName); "SELECT Name, Price FROM Items WHERE Price = ?"; 9; 13; $x ) ]

 

Using parameters helps you to avoid problems here and this works for any locale. If needed, you can use GetAsNumber() to explicit convert text to number and use localized decimal separators to get a numeric value.

 

So please use parameters for SQL statements.


Windows Scripting


We do support running Windows scripts with both JavaScript and VBScript with our plugins for Xojo and FileMaker:

In Xojo, you can use the WindowsScriptMBS class. It allows you to add code, evaluate some expressions and run functions with parameters. Errors are reported and you can even define a timeout.

In FileMaker the WindowsScript functions to do the same. Our examples show how to use various scripts to use OS functions in FileMaker.

Microsoft did not port the ScriptControl to 64-bit, so by default the plugin functions only work properly in 32-bit. But the open source Tablacus Script Control 64 does work in 64-bit with our plugins. The source code is available here: github.com/tablacus/TablacusScriptControl.

Of course nowadays you can do a lot of things directly instead of using VBScript. But if you have existing scripts, it may be convenient to use the plugin functions to run it.

Older blog entries:

2018-02-05 Drop area for Windows in FileMaker
2018-02-04 Adding custom icons for MacOS in Xojo
2018-02-03 The Status of our PHP support
2018-02-02 MBS Xojo Plugins, version 18.1pr1
2018-02-02 MBS FileMaker Plugin, version 8.1pr1
2018-02-02 XDC 2018 in Denver to sell out soon
2018-02-02 FileMaker Stammtisch Ulm
2018-01-30 Search in FileMaker Calculations and Custom Functions
2018-01-30 Did you try our new Clipper plugin classes?
2018-01-29 FileMaker Stammtisch Rhein-Main
2018-01-29 BKeeney Software Looking for Xojo Developer
2018-01-29 MBS FileMaker Plugin registration dialogs
2018-01-29 MBS Xojo Plugin registration dialogs
2018-01-28 Java with MBS Plugin
2018-01-23 MBS FileMaker Plug-in 8.0 - Über 5000 Funktionen in einem Plugin
2018-01-23 MonkeyBread Software Releases the MBS Xojo Plugins in version 18.0
2018-01-23 MBS FileMaker Plugin 8.0 - More than 5000 Functions In One Plugin
2018-01-20 Colorspaces in MacOS with Xojo
2018-01-19 Sign up for MBS Newsletters
2018-01-19 MBS Xojo Plugins, version 18.0pr9

Archives

Feb 2018
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