« Upcoming Mailserver M… | Home | News from the MBS Xoj… »

MBS FileMaker Plugin 15.1 News

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

SendMail

For many years we offer functions in the SendMail area that allow you to create and send emails with a variety of different options. This time we have added functions that allow you to set whether SSL should be used when sending the email. With SendMail.SetUseSSL we set the setting and with SendMail.GetUseSSL we can query it. You can also specify whether 8-bit encoding should be used for encoding instead of Quoted Printable. The functions SendMail.SetUse8BitMime and SendMail.GetUse8BitMime can help you with this.

Encryption

When it comes to encryption, you can now list the available curves for the ECKey function. The ECKey.BuiltInCurvesJSON function, which outputs a JSON with the information about built in curves. We can use the ECKey.CurveNameToID function to determine the ID of a curve by its name.

We have also added two functions for signing and verifying ES256. You can sign data with the ECKey.ES256Sign function and verify it with ECKey.ES256Verify.

WebView

We have added two new functions to the WebView area. With the WebView.List function you can display a list of all web viewer references. This function is mainly for custom WebViewers created by the MBS FileMaker Plugin.

Then we have the new function WebView.ClearPrintParameters. You can use it to reset the printer settings. For example, you can reset margins and paper format to the default.

Saxon

In the last release, we introduced you to the new Saxon topic. In this release, we are adding two functions with which you can set and remove a license. With Saxon.SetLicense you can set the license key for Saxon that you have purchased on our website. It can currently be either one for Saxon-PE or Saxon-EEV. In the parameter of this function you enter the name, the product, the expiration month and the serial number. You will also find all this data in the email you receive from us when you place an order. You can also use the Saxon.ClearLicense function to release the license again.

Text

We additionally have a new function Text.SplitByLength. With this function you can split a text in several positions at a certain length. You can then process the resulting list as you wish.

MBS( "Text.SplitByLength"; "Hello World"; 3)

Example result:
Hel
lo
Wor
ld

Plugin

You only want certain FileMaker files to be able to use the MBS FileMaker Plugin. Then you will be happy about the Plugin.LimitToFile function. Here you can define a list of all files that can use the plugin. All other files cannot even query the version number of the used plugin. This function is not always active. For this reason, it is advisable to call it every time with the Openscript trigger when opening the database.

FM

We have a new function FM.ModifyTableView. This function triggers the button to modify a table view and pick fields. If you hide the status toolbar, this is a way to show this dialog.

Python

We added a new function to Python: The function Python.AddSysPath adds a file path to the system path list. This allows you to add the path to the current virtual environment.

DynaPDF

Would you like to know which DynaPDF license you are currently working with? Then the new DynaPDF.CustomerID function may be useful for you. This function returns the customer id from the DynaPDF license key (the first digits).

Mac

There are also new features for Mac and the iOS SDK

Contacts

We have added new functions to the Contacts topic. With the CNContactStore.ChangeHistory function, you get a JSON returned in which the changes to your contacts are listed. Whether you add a group or change or delete a contact. Our function gives you the desired JSON.

{
  "events" : [
    {
      "event" : "DropEverything"
    },
    {
      "event" : "AddContact",
      "contact" : "773E1A42-ABCD-4CCF-88DE-E9C64BEE6D33:ABPerson",
      "container" : null
    },
    {
      "event" : "AddContact",
      "contact" : "3AE8473F-73E4-49D9-B37A-7C168613D45F:ABPerson",
      "container" : null
    },
    ...
    {
      "event" : "AddGroup",
      "container" : null,
      "group" : "77808CF4-E11E-4D95-A975-E2A99F4BCC3E:ABGroup"
    },
    ...
  ],
  "currentHistoryToken" : "62706C6973743030D...0000000001CB"
}

We have also added a new example to the plugin where you can see this function in action. You can track all changes that have been made since the last call.

In conjunction with this function, we also have two additional functions CNContactStore.SetTransactionAuthor and CNContactStore.GetTransactionAuthor with which you can set and query the author of transactions. Use this, in conjunction with excludedTransactionAuthor parameter in CNContactStore.ChangeHistory, to suppress fetching of changes the author already knows about.


Syntax Coloring

Everyone should have the opportunity to work more easily. Wherever we as the MBS team can help, we are happy to do our best and that's why we have now added a functionality to our goodies that could make work a little bit easier for red/green colorblind people. You can now change the errormessages in the debugger to blue so that they are easier to see.

We also have other functions that should make your life as a developer easier. For example, you can now use autocomplete for the parameters in the function dialog. Or you enjoy us sort the object styles in the layout editor.


Windows

Last but not least we also have news for Windows user. Here we have two new functions from the Files area. First, you can now call up Windows' own sharing panel with Files.ShareFile and use it to send your files. You define the file you want to send with a path. So if you want to export a file from a container, you must first save it to a location and can then share it.


Another new function in this area is the Files.ShowPropertyDialog function. It shows the file properties dialog in the explorer. For example, we can pass the path to FileMaker to the function and it will return the FileMaker property dialog.

MBS("Files.ShowPropertyDialog"; "C:\Program Files\FileMaker\FileMaker Pro\FileMaker Pro.exe")


We hope you will also find some interesting new features. We wish you a lot of fun with MBS FileMaker Plugin Version 15.1. If you need a license or have any questions, please contact us.

19 03 25 - 10:34