Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4    Statistic  


Useful for doing auto-updates from server and version checking.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Plugin 1.0 Yes Yes Yes Yes Yes
MBS( "Version" )   More




Useful for doing auto-updates from server and version checking.


Get the Plugin Version

$r = MBS("Version")

Query Plugin version on Server from Client with two scripts:

# First a script called "Query MBS Version on Server" which you can run:

Perform Script on Server [Wait for completion; “Query MBS Version Helper”]
Set Variable [$e; Value:Get(LastError)]
Set Variable [$r; Value:Get(ScriptResult)]
If [$e ≠ 0]
    Show Custom Dialog ["MBS Version on Server"; "Failed to run script on server: " & $e]
    Show Custom Dialog ["MBS Version on Server"; $r]
End If

# Second, the helper script called "Query MBS Version Helper" which will run on the server:

Set Variable [$r; Value:MBS("Version") & " " & MBS("Platform")]
Exit Script [Result: $r]

Check and ask user to install newer version than the prerelease they have:

If [ MBS("Plugin.IsPrerelease") ]
    If [ Get(CurrentDate) - MBS( "Plugin.CompileDate" ) >= 14 ]
        Show Custom Dialog [ "Update" ; "Please install newer version of MBS Plugin." & ¶ & MBS("Version") ]
    End If
End If

See also

Blog Entries

FileMaker Magazin

Created 18th August 2014, last changed 24th December 2019

Validate.FindReceipt   -   VersionAutoUpdate

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos