Set the Page Heading BX24.setTitle

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 BX24.setTitle method sends a command to change the application page heading.

void BX24.setTitle(String title[, Function callback])
        

The BX24.setTitle method changes the heading within the application container: a page or a slider. The portal page controls the heading of the top browser tab, so the command may execute successfully, but the browser tab heading will not change.

Parameters

Required parameters are marked with *

Name
type

Description

title*
string

New page title. Inside the method, the value is converted to a string via toString()

callback
function

Callback function, executed after sending the command to change the title

Code Example

How to Use Examples in Documentation

BX24.init(function () {
            BX24.setTitle('New headline', function () {
                console.log('Command to change the headline has been sent');
            });
        });
        

Response Handling

The method does not return data (void).

Continue Learning