...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/entitypreset.php
- Класс: Bitrix\Crm\EntityPreset
- Вызов: EntityPreset::getByXmlId
static function getByXmlId($xmlId) { $preset = PresetTable::getList([ 'select' => ['ID'], 'filter' => ['=XML_ID' => $xmlId], 'cache' => ['ttl' => 3600] ])->fetch(); return $preset ? $preset['ID'] : false; }