Today we got a handy script to convert text to html for the webviewer with clickable links:
The script looks like this:
Set Variable [ $text ; Value: Text To WebViewer::Text ]
Set Variable [ $html ; Value: MBS( "Text.EncodeToHTML"; $text ) ]
Set Variable [ $html ; Value: MBS( "RegEx.ReplaceAll"; $html; "(http|https)://([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-])?"; "<a href=\"\0\" target=\"_blank\">\0</a>"; "Caseless¶greedy") ]
Set Variable [ $html ; Value: MBS( "Text.ReplaceNewline"; $html; 4 ) ]
Set Variable [ $html ; Value: "<html><body><p>" & $html & "</p></body></html>" ]
Set Field [ Text To WebViewer::HTML ; $html ]
Set Web Viewer [ Object Name: "web" ; URL: "data:text/html;charset=utf-8;base64," & Base64Encode ( $html ) ]
As you see, we use Text.EncodeToHTML to encode any special characters as html entities. Than we use a regular expression to find all links and make them clickable. Next we replace the line endings and load the html into the web viewer with a data URL.
This works fine for MacOS and Windows. You can even put it on the FileMaker Server and use it for Web Direct.
For iOS, you may need to have plugin in your own iOS app or do the processing via PSoS. Finally you can load html to web viewer on iOS.
If you see a dialog like this, your backup may be broken or just have a little problem with the disk image. So usually we try to repair it instead of starting over. This are the steps necessary:
First turn of backups and mount the Time Machine disk and check what the name of the disk and the sparse bundle inside is, so you can adjust the names. hdiutil will return the disk number, which must be used for the next two calls:
If you did all the steps, you can enable backups again and let it continue with the same time machine sparse bundle.
We did those fixes a few time already and usually fsck reported just a minor problem.
The Mac version of that function is a bit more clever than on Windows as we only capture the scroll wheel events while the mouse is over the right window area. Even works, if the window is background and you scroll with mouse over the window.
Coming soon for next plugin version. If you like to try today, you can email us.
Diese Woche finden drei FileMaker Stammtische statt:
Am 13. Februar 2019 gegen 19 Uhr in den Räumen der "Studiowerk - Musikmanufaktur" in Braunschweig.
Am 14. Februar 2019 gegen 19 Uhr im Ristorante Pizzeria Capri in Neu-Ulm.
Am 14. Februar 2019 gegen 19 Uhr im Restaurant Beaulieu in Bern.
Herzliche Einladung mal vorbei zu schauen, falls ihr in der Nähe seit.
Am Besten für den jeweiligen Stammtisch beim Organisator anmelden, damit die Bescheid wissen, wer kommt. Und die Organisatoren schicken gerne regelmäßig Emails rund um an den nächsten Termin zu erinnern, die Themen bzw. Termin- oder Ortswechsel bekannt zu geben.
Please join us 5th to 8th August 2019 in Orlando, Florida, USA.
Monkeybread Software has a booth as usual and we'll be there for a whole week.
You can book the conference for 2 days ($999 USD) or 3 days ($1299), but I would suggest to add training day for ($399) and make it a 4 day conference. And if you come from far away, please make sure you have a day before/after to enjoy some extra activity with other attendees, like a visit to a Disney Park.
Hotel room is $189 including resort fee, but plus tax.
For our German speaking clients we have a workshop day:
In Zusammenarbeit mit der DenkForm GmbH bieten wir eine Schulung zum MBS Plugin an. Am 7. März 2019 können Sie in Wiesbaden an einer eintägigen Schulung teilnehmen. Lernen Sie die über 5700 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
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
Adressbuch und Kontakte abfragen bei Mac OS X.
Fragen und Antworten
Die Teilnahme kostet 119 Euro inkl. MWSt. und Verpflegung.
Details und Anmeldung bei der Denkform.
Im Anschluss geht es noch zur Pizzeria zum FileMaker Stammtisch Rhein-Main.
An jedem ersten Donnerstag im Monat findet ab 19 Uhr der FileMaker Stammtisch Rhein-Main statt, zu dem jeder herzlichst eingeladen ist.
Only 20 tickets are left for sale and this may sell out soon.
This conference is organized by Egbert Friedrich and takes place from 6th to 8th June 2019 in Berlin, Germany.
As the conference is in english, this is your chance to meet people from around the world at a conference in Europe. And for a lot of people it's easier to get to Berlin than to cross the atlantic and deal with US immigration officers.
dotfmp is an effort of various leading European FileMaker Developers. It is meant to bring all kinds of higher level developers together to share knowledge, educate and challenge each other. When
dotfmp starts at the 5th June 2019 in the later afternoon with a relaxed "Beer and Sausages" in one of the most famous Berlin Beergarden. The session days itself last from 6th until 8th June with various socializing events in the evenings. Additionally we offer support on 10th June to see more from Berlin and its surroundings. What
dotfmp is a 3 Day-Unconference, Meetup, Hangout or Barcamp. It is an informal and self-organized effort to meet on a personal base. Where
dotfmp takes place in one of the most famous spots in Berlin. The GLS Campus is located in a vibrant area with a very short walking distance to all the famous restaurants. Why
We feel there are far too few possibilities to talk to, learn from, and hangout with fellow developers in a relaxed and informal environment. And we'd like to share work and get feedback from people chewing on similar challenges.
If you like to join the conference and present something, please register soon.
The UserNotifications framework has been in iOS since version 10. With MacOS 10.14 Apple added this framework for the Mac, so we have the same classes in iOS and MacOS. With MacOS 10.14 Apple also deprecated NSUserNotification API.
To MBS Plugins, we now add UserNotifications API for MacOS in both our FileMaker and Xojo plugins.
For Xojo the new plugin part UNNotification contains all the classes to wrap the framework. As usually, we make this thread safe for Xojo, manage memory automatically and convert data types for you.
For FileMaker we compile the same code as for iOS for MacOS. Our existing UNNotification functions simply work for MacOS, too. There are a few little differences like location based notifications are not supported and there are no launch images for MacOS. If needed we could add new functions for actions beside just bringing FileMaker to front.
If you like, you can try soon those new functions with the next betas.
For next version of MBS Filemaker Plugin, we added new DocumentPicker functions to our FileDialog section. For iOS we didn't yet have a file dialog function and sometimes people like to pick a file via dialog. So we implemented UIDocumentPickerViewController class from iOS to provide functions for FileMaker.
The document picker supports four modes. Each mode provides a slightly different approach to sharing files between apps:
Import an external document. The user selects an external document. The document picker copies the document, leaving the original unchanged.
Export a local document. The user selects an external destination. The document picker copies the document, leaving the original unchanged.
Open an external document. The user selects an external document. The document picker provides access to the document, and the user can edit the document in place.
Move a local document. The user selects an external destination. The document picker moves the document; however, the user can still access the document as an external document, and the user can edit the document in place.
In all cases the panel shows asynchronously, the user does something and you get a script triggered when work is done, so you can pick up the list of file paths.
Coming soon for version 9.1 or if you like to try early, please contact us.
Die Organisatoren von der MKV GmbH laden herzlich zum monatlichen FileMaker Stammtisch in Karlsruhe ein. Das nächste Treffen findet am 29. Januar 2019 um 18:30 Uhr im Restaurant „Badisch Brauhaus“ statt.
Der feste Stammtisch-Termin ist jeweils am letzten Dienstag des Monats ab 18.30 Uhr. Die Veranstalter freuen sich auf informative und gemütliche Abende in großer Runde. Die Eckdaten für das erste Treffen des Jahres:
We got a problem reported by am user about PDFKit RenderPage function (PDFKit.GetPDFPageImage in FileMaker Plugin and PDFPageMBS.Render in Xojo Plugin) in our plugin skipping some content in a PDF file. Precisely a server with MacOS failed to render a PDF completely as one of the images inside was missing.
The PDF itself seems to open fine in Preview.app on that Mac. But when you extract the JPEG, it fails to render
When you open that jpeg on the server in Apple's Preview.app, the app freezes. The stack trace looks like this:
So JPEG rendering is done via Intel hardware in Mojave and the server in VMWare has no access to that hardware. But the same file in other places like Finder Icon preview works as that seems to use a different code path!?
Looks like the PDFKit code we use is different from the one Preview.app uses. With PDFKit drawing PDF into memory buffer to create image, it tries to do the hardware. That fails, but it doesn't wait endless, but returns quickly without rendering the JPEG image. Images not embedded in JPEG format render correctly.
Alternative way is to render would be via DynaPDF which brings its own code libraries.
PS: Also happens on a FileMaker Server on MacOS (Without VM) running without display. So if graphics card is deactivated, this seems to fail for PDFKit rendering, too. Reported to Apple with radar 47544376.
For next 9.1 plugin we'll add a few more functions for directions and showing routes. The map view will be embedded in the layout better, so it scrolls with other content on the same page.
What other features would you like to see?
Current 9.0 plugin can already render map images with 2D or 3D with MapView.Snapshot function. When you have the map view on the layout, you can move to an address with MapView.ShowAddress function and optionally put a pin there. Or just add pins for given coordinates with MapView.AddPin function.
On the list for 9.1 are poly lines to show routes and get directions. If you have more ideas, please let us know. We'd like to polish the map functions a bit more to present them at DevCon in summer.
If you developer for iOS and need the 9.1 prerelease versions sooner, please contact us.
Xojo Inc. will recognizes developers for their Xojo applications at the upcoming conference in Miami:
The Xojo Design Awards call for entries is officially open! The Xojo Design Awards foster creativity and encourage independent development by rewarding developers that produce quality products. Judging these awards gets more challenging every time, but the overwhelming response really illustrates how Xojo helps bring ideas to life.
The deadline for entry is March 20, 2019. The awards will be presented at XDC 2019, The Xojo Developer Conference, taking place May 1 - 3, 2019 in Miami, Florida. You do not need to be present to win.
The categories to be awarded (depending on participation) are likely to be:
Best iOS App
Best Business App
Best Consumer App
Best Cross-Platform App
Best Developer Tools
The criteria on which the software will be judged includes: creativity, ease of use, design, utility and best use of Xojo technologies. All software submitted to the Xojo Design Awards must be shipping at the time the software is entered (no beta software). Each winner will receive an engraved Xojo Design Award and the right to use the Xojo Design Award logo in marketing materials. For more information or to submit an entry, please visit xojo.com/designawards .
Nickenich, Germany - (Januar 22nd, 2019) -- MonkeyBread Software today is pleased to announce MBS FileMaker Plugin 9.0 for macOS, iOS, Linux and Windows, the latest update to their product that is easily the most powerful plugin currently available for FileMaker Pro. As the leading database management solution for Windows, macOS, iOS and the web, the FileMaker Pro Integrated Development Environment supports a plugin architecture that can easily extend the feature set of the application. MBS FileMaker Plugin 9.0 has been updated and now includes over 5600 different functions, and the versatile plugin has gained more new functions:
The new MapKit functions allow you to show a map control on the layout. We use Apple framework for the map view for Mac and iOS. You can add pin annotations to the maps and show an address. With snapshot function you render a picture of a given map area. Maps can show as standard, satellite, or hybrid, with the option to enable 3D flyover.
Our CURL functions can download emails from IMAP mail boxes. The new CURL.GetResultAsEMailList function parses the details returned from IMAP server to provide the list of emails with details in JSON. Each entry contains an URL to download the email, the unique identifier for the email, optional subject, sender and recipient addresses and the message id.
For JSON we added new functions to create values, compare JSON objects and find values in arrays.
In our documentation we now link to blog articles related to the function. For our Mac users, you can enable links to documentation for MBS functions in the formatted calculations.
Nowadays most users on MacOS use the 64-bit FileMaker version. The 32-bit Mac version of MBS Plugin version is only available on request. We removed QTMovie, QTExport and MovieView functions as they were 32-bit only.
This version includes an upgrade to GraphicsMagick library with new and better functions. Now all platforms can use 16 bit color depth for each channel. GMImage.NewFromContainer now returns better error messages. Try the new repage, extent, auto orient or resize functions.
SQLite is now built with API armor option to increase stability. We fixed bugs with SQL connections to MySQL and Oracle. Improved default settings for connecting via ODBC to FileMaker.
Finally we upgraded CURL library to version 7.63.0, DynaPDF to 188.8.131.52, freetype to 2.9.1, GraphicsMagick to 1.3.31, iconv to 1.15, libarchive to 3.3.3, libexpat to 2.2.6, OpenSSL to 1.1.1a, png to 1.6.36, regex to 8.42, SQLAPI to 4.2.4 and SQLite to version 3.26.0.
Charles Ajuziem (We used Claris Fi…): have an old filemaker pro… Christian Schmitz… (MethodDraw): Yes, you can load existin… Neil riley (MethodDraw): Does it support a backgro… martin lewis (Code Signing File…): i have tried code signing… Mortennn (Notarize apps for…): I’ve create a CLI tool to… Markus (Older Xojo versio…): Thanks for the overview –… Christian Schmitz… (New functions for…): Well, first you can downl… Ian (New functions for…): Hi, I’m quite new to file… Bernhard Schulz (Java with MBS Plu…): Thank you Christian, best… Craig Laird (See all button im…): Where can I set this in v…