Platform
--------

Returns what platform the plugin is running on.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Plugin](component_Plugin.md) | [3.0](newinversion30.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Platform" ) (old name: Plattform)

### Parameters

none

### Result

Returns platform name.

### Description

Returns what platform the plugin is running on.  
Value can be FileMaker Pro Advanced, FileMaker Pro, Runtime, Server, Web Direct, Mobile, XDBC, ServerScripting or InstantWebPublishing.  
  
Older versions may return "Developer" or "Pro" for FIleMaker Pro.  
  
For FileMaker 17 or newer, MBS Plugin detects the status of whether Advanced Tools are enabled. Returns Developer if enabled and Pro if not enabled.  
### Examples

Query the current platform:

 $r = MBS ( "Platform" )  
Script to report back status of MBS Plugin:

 # Script to trigger somewhere to report back details about MBS Plugin   
Set Variable \[ $version ; Value: GetAsText(MBS ("Version")) \]   
Set Variable \[ $platform ; Value: MBS ( "Platform" ) \]   
Set Variable \[ $buildNumber ; Value: MBS ( "[Plugin.BuildNumber](PluginBuildNumber.md)" ) \]   
Set Variable \[ $path ; Value: MBS ( "[Plugin.Path](PluginPath.md)" ) \]   
Set Variable \[ $IsRegistered ; Value: MBS ( "IsRegistered" ) \]   
Set Variable \[ $Name ; Value: MBS ( "[Plugin.LicenseeName](PluginLicenseeName.md)" ) \]   
Set Variable \[ $Debug ; Value: MBS ( "[Plugin.isDebug](PluginisDebug.md)" ) \]   
If \[ $version = "?" \]   
 Set Variable \[ $text ; Value: "MBS Plugin not installed. " &amp; Get ( ApplicationVersion ) \]   
Else  
 Set Variable \[ $l1 ; Value: "MBS Plugin " &amp; $version &amp; ", build " &amp; $buildNumber &amp; " installed in " &amp; Get ( ApplicationVersion ) \]   
 Set Variable \[ $l2 ; Value: "¶Platform: " &amp; $Platform &amp; "¶Path: " &amp; $path \]   
 Set Variable \[ $l3 ; Value: If($[IsRegistered](IsRegistered.md); "¶Licensed for: " &amp; $Name ; "¶No license set.") \]   
 Set Variable \[ $l4 ; Value: "¶Debug: " &amp; If($debug ; "yes"; "no") \]   
 Set Variable \[ $text ; Value: $l1 &amp; $l2 &amp; $l3 \]   
End If  
Exit Script \[ Text Result: $text \]  
Check for WebDirect:

 MBS ("Platform") = "Web"  
### See also

- [DynaPDF.Initialize](DynaPDFInitialize.md)
- [IsRegistered](IsRegistered.md)
- [Plugin.BuildNumber](PluginBuildNumber.md)
- [Plugin.isDebug](PluginisDebug.md)
- [Plugin.LicenseeName](PluginLicenseeName.md)
- [Plugin.Path](PluginPath.md)
- [Register](Register.md)
- [Version](Version.md)

### Blog Entries

- [MBS FileMaker Advent calendar - Door 17 - User Notifications](https://www.mbsplugins.de/archive/2024-12-17/MBS_FileMaker_Advent_calendar_/monkeybreadsoftware_blog_filemaker)
- [Install a FileMaker 2023 Server in Linux in Parallels Desktop](https://www.mbsplugins.de/archive/2023-05-10/Install_a_FileMaker_2023_Serve/monkeybreadsoftware_blog_filemaker)
- [Install MBS Plugin on a FileMaker Server](https://www.mbsplugins.de/archive/2022-02-20/Install_MBS_Plugin_on_a_FileMa/monkeybreadsoftware_blog_filemaker)
- [Identify plugin version and platform](https://www.mbsplugins.de/archive/2021-07-25/Identify_plugin_version_and_pl/monkeybreadsoftware_blog_filemaker)
- [My FileMaker 17 Release Notes](https://www.mbsplugins.de/archive/2018-05-15/My_FileMaker_17_Release_Notes/monkeybreadsoftware_blog_filemaker)
- [Properly register MBS FileMaker Plugin](https://www.mbsplugins.de/archive/2016-09-15/Properly_register_MBS_FileMake/monkeybreadsoftware_blog_filemaker)
- [FileMaker Server 13 with Web Direct](https://www.mbsplugins.de/archive/2013-12-05/FileMaker_Server_13_with_Web_D/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 3/2021, Seite 10](https://filemaker-magazin.de/neuigkeit/4145-Appetithappen-FMM_202103)

This function is free to use.

Created 18th August 2014 , last changed 25th February 2026

  
[PhotoPicker.TotalBytes](PhotoPickerTotalBytes.md) - [Plugin.BuildNumber](PluginBuildNumber.md)

[HTML Version](Platform.shtml)