1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-29 21:57:16 +02:00
Vitaly the Alpaca (bot) 602d0cecea Main build (Jenkins)
2025-02-05 12:40:59 +03:00

47 lines
1019 B
Plaintext
Vendored

---
sidebar_position: 8
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Update handler key
Replaces the handler key with a new one
`Function UpdateHandlerKey(Val Project, Val HandlerKey, Val NewKey = "") Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Project | --proj | String | ✔ | Project filepath |
| HandlerKey | --handler | String | ✔ | Handler key |
| NewKey | --key | String | ✖ | Custom key, if necessary. New standard UUID by default |
Returns: Structure Of KeyAndValue - Information about the handler
<br/>
```bsl title="1C:Enterprise/OneScript code example"
Project = "C:\Users\Administrator\AppData\Local\Temp\v8_9B5_45.oint";
HandlerKey = "e52f...";
NewKey = "mykey";
// Custom key
Result = OPI_IntegrationProxy.UpdateHandlerKey(Project, HandlerKey, NewKey);
// New random key
Result = OPI_IntegrationProxy.UpdateHandlerKey(Project, NewKey);
```