Get Information About the Call Context of BX24.placement.info
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.
Scope:
placement
The method BX24.placement.info retrieves information about the context of the embedding handler call.
No parameters.
Code Example
How to Use Examples in Documentation
BX24.ready(function () {
BX24.init(function () {
var placementInfo = BX24.placement.info();
console.info("placement = " + placementInfo["placement"]
+ ", options = " + placementInfo["options"]);
});
});
Result
{"placement":"CRM_LEAD_LIST_MENU","options":{"ID":"1348"}}
Continue Your Learning
- Get Information About the JS Interface of the Current Placement BX24.placement.getInterface
- Call the Registered Interface Command BX24.placement.call
- Set Up an Event Handler for the Interface BX24.placement.bindEvent
Copied