1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-06-21 00:29:52 +02:00
Files
OpenIntegrations/docs/en/md/Integration_proxy_methods/Argument-setting/Set-handler-arguments.mdx

39 lines
928 B
Plaintext
Raw Normal View History

2025-01-31 17:10:45 +03:00
---
sidebar_position: 1
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Set handler arguments
Sets the argument to the function, allowing it to be unspecified when the handler is called
`Function SetHandlerArguments(Val Project, Val HandlerKey, Val Argument, Val Value, Val Strict = True) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Project | --proj | String | ✔ | Project filepath |
| HandlerKey | --handler | String | ✔ | Handler key |
| Argument | --arg | String | ✔ | CLI argument (option) for the handler function |
| Value | --value | String | ✔ | String argument value |
| Strict | --strict | Boolean | ✖ | True > argument cannot be overwritten by a request data |
Returns: Structure Of KeyAndValue - Setting result
<br/>
```bsl title="1C:Enterprise/OneScript code example"
```