1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-04-13 11:50:53 +02:00
2024-10-22 08:59:24 +03:00

60 lines
1015 B
Plaintext

---
sidebar_position: 6
---
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"
}
}
```