You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-10-08 22:51:57 +02:00
Создание MD файлов документации
This commit is contained in:
committed by
Vitaly the Alpaca (bot)
parent
d2de133d82
commit
732198715b
@@ -1,45 +1,45 @@
|
||||
---
|
||||
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"
|
||||
}
|
||||
|
||||
```
|
||||
---
|
||||
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"
|
||||
}
|
||||
|
||||
```
|
||||
|
Reference in New Issue
Block a user