1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00
Files
OpenIntegrations/docs/en/md/Airtable/Working-with-fields/Get-checkbox-field.mdx
Vitaly the Alpaca (bot) abbcdf3723 Main build (Jenkins)
2025-09-18 13:55:48 +03:00

61 lines
1.3 KiB
Plaintext
Vendored

---
sidebar_position: 6
description: Get field (checkbox) and other functions to work with Airtable in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, Airtable]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Get field (checkbox)
Gets the description of a boolean field
`Function GetCheckboxField(Val Name) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Name | --title | String | ✔ | Field name |
Returns: Structure - Field description
<br/>
```bsl title="1C:Enterprise/OneScript code example"
Result = OPI_Airtable.GetCheckboxField("Checkbox");
```
<Tabs>
<TabItem value="bash" label="Bash" default>
```bash
oint airtable GetCheckboxField \
--title "Checkbox"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint airtable GetCheckboxField ^
--title "Checkbox"
```
</TabItem>
</Tabs>
```json title="Result"
{
"name": "Checkbox",
"type": "checkbox",
"options": {
"icon": "check",
"color": "yellowBright"
}
}
```