Plugin.CustomFunctionParameter
------------------------------

Queries custom function parameter with given index.

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

MBS( "Plugin.CustomFunctionParameter"; Index ) 

**MBS**( **"Plugin.CustomFunctionParameter";** /\* Queries custom function parameter with given index. \*/  
**$Index**) /\* The zero based index of the parameter to query.  
Range from 0 to [Plugin.CustomFunctionParameterCount](PluginCustomFunctionParameterCount.md)-1.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Index | The zero based index of the parameter to query.   Range from 0 to [Plugin.CustomFunctionParameterCount](PluginCustomFunctionParameterCount.md)-1. | 0 |

### Result

Returns value.

### Description

Queries custom function parameter with given index.  
If index is out of range, we return empty result.  
  
Please avoid recursion in calling a plugin defined custom function within a plugin defined custom function since we can't know which parameters belong to which call.  
### See also

- [Plugin.CustomFunctionNames](PluginCustomFunctionNames.md)
- [Plugin.CustomFunctionParameterCount](PluginCustomFunctionParameterCount.md)
- [Plugin.GetFunctionParameters](PluginGetFunctionParameters.md)
- [Plugin.RegisterFunction](PluginRegisterFunction.md)

### Release notes

- **Version 15.3**
    - Added [Plugin.CustomFunctionParameter](https://www.mbsplugins.eu/PluginCustomFunctionParameter.shtml) and [Plugin.CustomFunctionParameterCount](https://www.mbsplugins.eu/PluginCustomFunctionParameterCount.shtml) to query parameters for the custom function.

### Blog Entries

- [Register custom functions with MBS Plugin](https://www.mbsplugins.de/archive/2025-08-27/Register_custom_functions_with/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 15.3 News](https://www.mbsplugins.de/archive/2025-07-29/MBS_FileMaker_Plugin_153_News/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 15.3pr5](https://www.mbsplugins.de/archive/2025-07-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 26th June 2025 , last changed 24th August 2025

  
[Plugin.CustomFunctionNames](PluginCustomFunctionNames.md) - [Plugin.CustomFunctionParameterCount](PluginCustomFunctionParameterCount.md)

[HTML Version](PluginCustomFunctionParameter.shtml)