« Training day for MBS … | Home | Video of German MBS F… »

Tip of the day: Detect MBS FileMaker Plugin

To know if the MBS Plugin is installed on a computer, you can call a plugin function. If the function causes an evaluation error, the plugin is missing:
Set Variable [$r; Value: Evaluate("MBS(\"Version\")") ]
If [GetAsText($r) = "?"]
Show Custom Dialog ["MBS Plugin not installed"]
Show Custom Dialog ["MBS Plugin installed in version: " & $r]
End If
Sometimes it may be good to test on solution startup and ask user to install plugin if it is missing.
Or to use the script step to install plugin.

We use evaluate in the example above as you can code this without actually having the plugin. So FileMaker will not show a missing function in editor. Claris FileMaker Plugin
02 11 15 - 11:23