1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-04-04 22:14:37 +02:00

14 lines
485 B
Plaintext
Raw Normal View History

 Name = "New file name.jpg";
Filename2 = "New file name 2.jpg";
2024-09-17 15:57:44 +03:00
FileID2 = FunctionParameters["Bitrix24_HookFileID"];
URL = FunctionParameters["Bitrix24_URL"];
Result = OPI_Bitrix24.RenameFile(URL, FileID2, Filename2);
2024-09-17 15:57:44 +03:00
FileID = FunctionParameters["Bitrix24_FileID"];
URL = FunctionParameters["Bitrix24_Domain"];
Token = FunctionParameters["Bitrix24_Token"];
Result = OPI_Bitrix24.RenameFile(URL, FileID, Name, Token);