R
R
RudFox2021-03-17 11:24:05
1C-Bitrix
RudFox, 2021-03-17 11:24:05

How to output infoblock property to any file?

How can I correctly output the infoblock property, for example, to a newly created file in the root of the site /main-test.php
These options do not work:

<? echo $arResult['DISPLAY_PROPERTIES']['ATTRIBUTE']['DISPLAY_VALUE'];?>
<? echo $arResult['PROPERTIES']['ATTRIBUTE']['VALUE'];?>

<?=$arResult['DISPLAY_PROPERTIES']['ATTRIBUTE']['DISPLAY_VALUE'];?>
<?=$arResult['PROPERTIES']['ATTRIBUTE']['VALUE'];?>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question