« 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"]
Else
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.
02 11 15 - 11:23
No comments

  
Remember personal info?

Emoticons / Textile


Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.