IsRegistered
------------

Queries if plugin is registered with Complete key.

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

MBS( "IsRegistered" { ; Component } ) 

**MBS**( **"IsRegistered";** /\* Queries if plugin is registered with Complete key. \*/  
**$Component**) /\* Optional; Which part you want to check.e.g. "webview" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| Component | Which part you want to check. | "webview" | Optional |

### Result

Returns 1 if the plugin is registered or 0 if not.

### Description

Queries if plugin is registered with Complete key.  
  
See also Register, [IsRuntime](IsRuntime.md), [IsServer](IsServer.md) and [IsClient](IsClient.md).  
### Examples

Register only when needed:

 If \[MBS ("IsRegistered") ≠ 1\]  
 If \[MBS ("IsRuntime")\]  
 Set Variable \[$r ; Value:MBS ("Register"; "test"; "Runtime"; 123; 123)\]  
 Else If \[MBS ("IsMobile")\]  
 Set Variable \[$r ; Value:MBS ("Register"; "test"; "iOS"; 123; 123)\]  
 Else If \[MBS ("IsServer")\]  
 Set Variable \[$r ; Value:MBS ("Register"; "test"; "Server"; 123; 123)\]  
 Else  
 Set Variable \[$r ; Value:MBS ("Register"; "test"; "5 seats"; 123; 123)\]  
 End If  
End If  
Check if plugin is registered:

 $v = MBS ("IsRegistered")  
Register with Startup script for server and client:

 #Startup Script:   
  
\#Register for client   
Perform Script \[“InitMBS”\]  
\#Register for server. Will be ignored if no server or no plugin installed on server   
Perform Script on Server \[“InitMBS”\]  
  
  
\#InitMBS script:   
  
\#Enable debug logging. Shows messages in DebugView/Console.app   
Set Variable \[$r ; Value:MBS ("Trace")\]  
\#Register if needed for right platform   
If \[MBS ("IsRegistered") = 0\]  
 If \[MBS ("IsRuntime")\]  
 Set Variable \[$r ; Value:MBS ("Register"; "test"; "Complete"; "Runtime"; 123; 123)\]  
 Else If \[MBS ("IsServer")\]  
 Set Variable \[$r ; Value:MBS ("Register"; "test"; "Complete"; "Server"; 123; 123)\]  
 Else If \[MBS ("IsClient")\]  
 Set Variable \[$r ; Value:MBS ("Register"; "test"; "Complete"; "5 Seats"; 123; 123)\]  
 Else  
 Set Variable \[$r ; Value:"Unknown platform: " &amp; MBS ("Platform")\]  
 End If  
 #Show errors, so developer can fix them  
 If \[$r ≠ "OK"\]  
 Show Custom Dialog \["InitMBS failed."; $r \]  
 End If  
End If  
\#May initialize other stuff   
\#like dynapdf with library in extensions folder   
If \[MBS ("[DynaPDF.IsInitialized](DynaPDFIsInitialized.md)") = 0\]  
 Set Variable \[$DynaPDFLicense ; Value:"1003637-16022016-3-8-12-685C57F..."\]  
 If \[MBS ("IsWindows")\]  
 Set Variable \[$r ; Value:MBS ( "[DynaPDF.Initialize](DynaPDFInitialize.md)"; "dynapdf.dll"; $DynaPDFLicense )\]  
 Else If \[MBS ("IsMacOSX")\]  
 Set Variable \[$r ; Value:MBS ( "[DynaPDF.Initialize](DynaPDFInitialize.md)"; "dynapdf.dylib"; $DynaPDFLicense )\]  
 Else  
 Set Variable \[$r ; Value:"Unknown platform: " &amp; MBS ("Platform")\]  
 End If  
 #Show errors, so developer can fix them  
 If \[$r ≠ "OK"\]  
 Show Custom Dialog \["InitMBS failed."; $r \]  
 End If  
End If  
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 ; "¶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 \]  
### See also

- [IsClient](IsClient.md)
- [IsMobile](IsMobile.md)
- [IsRuntime](IsRuntime.md)
- [IsWindows](IsWindows.md)
- [Plugin.BuildNumber](PluginBuildNumber.md)
- [Plugin.LicenseeName](PluginLicenseeName.md)
- [Register](Register.md)
- [Trace](Trace.md)
- [Unregister](Unregister.md)
- [Version](Version.md)

### Blog Entries

- [Using DynaPDF with Data API for PDF generation](https://www.mbsplugins.de/archive/2026-05-25/Using_DynaPDF_with_Data_API_fo/monkeybreadsoftware_blog_filemaker)
- [How to Register the MBS Plugin for FileMaker](https://www.mbsplugins.de/archive/2025-10-28/How_to_Register_the_MBS_Plugin/monkeybreadsoftware_blog_filemaker)
- [Register Script for MBS Plugin](https://www.mbsplugins.de/archive/2022-01-13/Register_Script_for_MBS_Plugin/monkeybreadsoftware_blog_filemaker)
- [Identify plugin version and platform](https://www.mbsplugins.de/archive/2021-07-25/Identify_plugin_version_and_pl/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin registration dialogs](https://www.mbsplugins.de/archive/2018-01-29/MBS_FileMaker_Plugin_registrat/monkeybreadsoftware_blog_filemaker)
- [Print WebViewer on macOS in FileMaker](https://www.mbsplugins.de/archive/2017-11-28/Print_WebViewer_on_macOS_in_Fi/monkeybreadsoftware_blog_filemaker)
- [Properly register MBS FileMaker Plugin](https://www.mbsplugins.de/archive/2016-09-15/Properly_register_MBS_FileMake/monkeybreadsoftware_blog_filemaker)
- [4000 functions in 10 years](https://www.mbsplugins.de/archive/2016-06-11/4000_functions_in_10_years/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin debugging help](https://www.mbsplugins.de/archive/2015-02-27/MBS_FileMaker_Plugin_debugging/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 3.0pr9](https://www.mbsplugins.de/archive/2012-11-26/MBS_Filemaker_Plugin_version_3/monkeybreadsoftware_blog_filemaker)

This function is free to use.

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

  
[IsMobile](IsMobile.md) - [IsRuntime](IsRuntime.md)

[HTML Version](IsRegistered.shtml)