Answer the question
In order to leave comments, you need to log in
How to automatically get the value of the File property?
Is it possible in Bitrix to automatically process all the properties of an element, regardless of their type (we don’t even consider complex types, for example, lists)? Integers, strings and files.
$props = $item->getProperties();
foreach ($props as $key => $prop)
$result[$key] = $prop['VALUE'];
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question