Всем спасибо, в итоге вот что получилось)
$dbItems = \Bitrix\Iblock\Elements\XXXTable::getList([
'select' => [
'ID',
'IBLOCK_ID',
'IBLOCK_SECTION_ID',
'CODE',
'NAME',
'PREVIEW_PICTURE',
'DETAIL_PICTURE',
'DETAIL_PAGE_URL' => 'IBLOCK.DETAIL_PAGE_URL',
],
'filter' => ['IBLOCK_ID' => 777777],
'order' => ['ACTIVE_FROM' => 'DESC'],
]);
$this->arResult['RESULT_SOLUTION_ARR'] = [];
foreach ($dbItems as $element) {
$element['DETAIL_PAGE_URL'] = CIBlock::ReplaceDetailUrl(
$element['DETAIL_PAGE_URL'],
$element,
false,
'E'
);
$this->arResult['RESULT_SOLUTION_ARR'][] = $element;
}