Open Path in the BX24.openPath Slider
If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the MCP server so that the assistant can utilize the official REST documentation.
The method BX24.openPath opens the specified path within Bitrix24 in a slider.
void BX24.openPath(String path[, Function callback])
For security reasons, this method does not work in the mobile application.
Parameters
Required parameters are marked with *
|
Name |
Description |
|
path* |
The path within Bitrix24. The following prefixes are supported:
|
|
callback |
Callback function. Invoked when there is an error opening the path or when the slider is closed |
Before opening, the SDK automatically adds service parameters to the path:
from=rest_placement&from_app={appId}.
Code Example
BX24.init(function () {
BX24.openPath('/crm/deal/details/5/', function (result) {
console.log(result);
});
});
How to Use Examples in Documentation
Response Handling
The method does not return data (void).
If a callback is provided, it receives a result object.
Callback Result
|
Name |
Description |
|
result |
Execution status: |
|
errorCode |
Error code. Passed only when |
Continue Learning
- Open the Popup Window BX24.openApplication
- Close the Window with the Application BX24.closeApplication