GithubHelp home page GithubHelp logo

bitrix24-api's Introduction

Bitrix24-API

Основные фичи Битрикс24 API, в том числе CRM

GetList Контактов из CRM на d7

if(\Bitrix\Main\Loader::includeModule('crm')):

	$arFilter = array();
	$arSelect = array();
	$dbFields = CCrmContact::GetList(array('DATE_CREATE' => 'DESC'), $arFilter, $arSelect, false);
	while($arResult = $dbFields->Fetch()) 
	{ 
		echo '<pre>';
		print_r($arResult); 
		echo '</pre>';
	}

endif;
CCrmContact::GetList - Контакты
CCrmCompany::GetList - Компании
CCrmLead::GetList - Лиды
CCrmDeal::GetList - Сделки

bitrix:intranet.user.selector.new

Выбор пользователей

$APPLICATION->IncludeComponent(
'bitrix:intranet.user.selector.new',
'',
array(
	'MULTIPLE' => 'N',
	//'NAME' => ,
	//'INPUT_NAME' => ,
	//'POPUP' => 'Y',
	//'INPUT_NAME' => "estimate_contact",
	'INPUT_NAME_STRING' => "estimate_contact_h",
	'INPUT_NAME_SUSPICIOUS' => "estimate_contact_h",
	'TEXTAREA_MIN_HEIGHT' => 30,
	'TEXTAREA_MAX_HEIGHT' => 60,
	//'INPUT_VALUE' => $thisEstimate['CONTACT'],
	//'EXTERNAL' => 'A',
	'SOCNET_GROUP_ID' => ($arParams["TASK_TYPE"] == "group" ? $arParams["OWNER_ID"] : "")

),
null,
array('HIDE_ICONS' => 'Y')
);

bitrix24-api's People

Contributors

sadovikow avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.