1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-27 22:18:36 +02:00
Files
OpenIntegrations/docs/en/md/Addons/Melezh/Console-Interface/Projects-setup/Set-project-setting.mdx
Vitaly the Alpaca (bot) e89a5df5dc Main build (Jenkins)
2025-06-01 21:46:01 +03:00

62 lines
1.5 KiB
Plaintext
Vendored

---
sidebar_position: 5
description: Set project setting and other functions to work with Melezh 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]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Set project setting
Sets the value of the selected project setting
`Function SetProjectSetting(Val Project, Val Setting, Val Value) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Project | --proj | String | ✔ | Project filepath |
| Setting | --key | String | ✔ | Project setting key |
| Value | --value | String | ✔ | Value of project setting |
Returns: Structure Of KeyAndValue - Setting result
<br/>
:::tip
If a value is modified in a running project, the change may take up to 60 seconds to be applied
:::
<br/>
<Tabs>
<TabItem value="bash" label="Bash" default>
```bash
melezh SetProjectSetting \
--proj "/proj.melezh" \
--key "***" \
--value "yo"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
melezh SetProjectSetting ^
--proj "/proj.melezh" ^
--key "***" ^
--value "yo"
```
</TabItem>
</Tabs>
```json title="Result"
{
"result": true
}
```