System Dialogs: Overview of Methods
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.
System dialogs open within the Bitrix24 interface and operate outside the application frame. They are used when there is a need to select a user, access permissions, or CRM entities through the platform's standard windows.
Quick Navigation: All Methods
How to Select a Dialog
- To select employees, use BX24.selectUser for a single user and BX24.selectUsers for multiple users.
- To select access permissions, use BX24.selectAccess.
- To select CRM entities, use BX24.selectCRM.
What a Workflow Scenario Looks Like
- Determine what data is needed for the next step: user ID, access codes, or CRM entities.
- Pass a
callbackhandler to receive the selected values after the dialog is closed. - Normalize the data from the
callbackinto the required format: a singleid, an array ofids, or access codes. - Use the obtained values in the next application action: REST call, filter, permission settings, or form filling.
- Save the selection result in the interface state so that the user can continue the scenario without re-selection.
Relationships with Other Objects
User. The methods BX24.selectUser and BX24.selectUsers return the selected employees to the callback handler and assist in passing their identifiers to subsequent REST calls.
Access Permissions. The method BX24.selectAccess returns access permission codes in the format U1, SG4, AU and helps configure visibility rules in objects where access codes are needed.
CRM. The method BX24.selectCRM returns selected CRM entities by types (lead, contact, company, deal, quote) and helps utilize them in integration scenarios.
Overview of Methods
|
Method |
Description |
|
Displays the standard dialog for selecting a single user |
|
|
Displays the standard dialog for selecting multiple users |
|
|
Displays the standard dialog for selecting access permissions |
|
|
Displays the standard dialog for selecting CRM entities |