Skip to content

Instantly share code, notes, and snippets.

@Padilo300
Created October 6, 2020 11:27
Show Gist options
  • Save Padilo300/40a6c5b6c8918e8f71a6abb50add4c31 to your computer and use it in GitHub Desktop.
Save Padilo300/40a6c5b6c8918e8f71a6abb50add4c31 to your computer and use it in GitHub Desktop.
bx install bitrix24 install app
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<script src="//api.bitrix24.com/api/v1/"></script>
<h1>install</h1>
<script>
BX24.install(function(){
BX24.callBatch({
placement_bind_contact_detail: [
'placement.bind', {
'PLACEMENT': 'CRM_CONTACT_DETAIL_ACTIVITY',
'HANDLER': 'https://адрес обработчика',
'TITLE': 'Название вкладки'
}
],
placement_bind_company_detail: [
'placement.bind', {
'PLACEMENT': 'CRM_DEAL_DETAIL_TAB',
'HANDLER': 'https://адрес обработчика',
'TITLE': 'Название вкладки'
}
],
},
function(result)
{
alert('result: '+result);
}
);
});
function finish(){
BX24.installFinish();
}
finish();
</script>
</body>
</html>
https://dev.1c-bitrix.ru/rest_help/application_embedding/index.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment