Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

Version

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" )

Parameters

none

Description

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

Examples

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]
Else
    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]

See also


Validate.FindReceipt   -   VersionAutoUpdate

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins