Answer the question
In order to leave comments, you need to log in
How to get the value of a custom property of an infoblock section?
I have created a custom field for infoblock sections - PAGEHEADER.
I set the value for the section.
How can I get its value?
Tried in different ways. Maybe I'm not doing it right. Please share your experience.
For example, I tried
$arOrder = array(
"SORT"=>"ASC"
);
$arFilter = array(
"IBLOCK_ID"=>"110"
);
$ar_result=CIBlockSection::GetList($arOrder, $arFilter, false, array('UF_PAGE_HEADER'));
if($res=$ar_result->GetNext()){
print_r($res);
};
Answer the question
In order to leave comments, you need to log in
Note No. 1: to display custom properties , IBLOCK_ID must be passed and the code of the required properties UF_XXX must be passed to arSelect.dev.1c-bitrix.ru/api_help/iblock/classes/ciblockse...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question