XL.FormControl.JSON
-------------------

Queries form controls as JSON.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [XL](component_XL.md) | [14.0](newinversion140.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "XL.FormControl.JSON"; BookRef; SheetIndex ) 

**MBS**( **"XL.FormControl.JSON";** /\* Queries form controls as JSON. \*/  
**$BookRef**; /\* The reference number for the workbook.e.g. $ref \*/   
**$SheetIndex**) /\* The index of the sheet. This number ranges from 0 to [XL.Book.SheetCount](XLBookSheetCount.md)-1.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| BookRef | The reference number for the workbook. | $ref |
| SheetIndex | The index of the sheet. This number ranges from 0 to [XL.Book.SheetCount](XLBookSheetCount.md)-1. | 0 |

### Result

Returns JSON or error.

### Description

Queries form controls as JSON.  
Provides an overview about all the form controls.  
### See also

- [XL.Book.SheetCount](XLBookSheetCount.md)
- [XL.FormControl.GetDx](XLFormControlGetDx.md)
- [XL.FormControl.GetSet](XLFormControlGetSet.md)
- [XL.FormControl.Item](XLFormControlItem.md)
- [XL.FormControl.Macro](XLFormControlMacro.md)
- [XL.FormControl.Name](XLFormControlName.md)
- [XL.FormControl.Print](XLFormControlPrint.md)
- [XL.FormControl.SetDx](XLFormControlSetDx.md)
- [XL.FormControl.SetSel](XLFormControlSetSel.md)

### Release notes

- **Version 14.0**
    - Added [XL.FormControl.JSON](https://www.mbsplugins.eu/XLFormControlJSON.shtml) function.

### Blog Entries

- [New in MBS FileMaker Plugin 14.0](https://www.mbsplugins.de/archive/2024-01-23/New_in_MBS_FileMaker_Plugin_14/monkeybreadsoftware_blog_filemaker)
- [Neues MBS Plugin 14.0 für Claris FileMaker](https://www.mbsplugins.de/archive/2024-01-16/Neues_MBS_Plugin_140_für_Clar/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 14.0 for Claris FileMaker](https://www.mbsplugins.de/archive/2024-01-16/MBS_FileMaker_Plugin_140_for_C/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 13.6pr1](https://www.mbsplugins.de/archive/2023-12-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 30th November 2023 , last changed 30th November 2023

  
[XL.FormControl.ItemCount](XLFormControlItemCount.md) - [XL.FormControl.LinkedCell](XLFormControlLinkedCell.md)

[HTML Version](XLFormControlJSON.shtml)