1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-18 23:48:56 +02:00
OpenIntegrations/docs/en/md/Airtable/Field-work/Get-string-field.md
2024-06-05 12:58:00 +03:00

46 lines
688 B
Markdown

---
sidebar_position: 3
---
# Get field (string)
Gets the description of a string field
*Function GetStringField(Val Name) ExportReturn PrimitiveFieldDescription(Name, "richText");EndFunction*
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| Name | --title | String | New field name |
Returns: Structure - Field description
```bsl title="Code example"
Name = "String";
Response = OPI_Airtable.GetStringField(Name); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
```
```sh title="CLI command example"
oint airtable GetStringField --title "String"
```
```json title="Result"
{
"name": "String",
"type": "richText"
}
```