D
D
Diversia2017-06-08 15:01:52
1C-Bitrix
Diversia, 2017-06-08 15:01:52

How to display the values ​​of multiple bound properties in Bitrix using GetList?

Please tell me how to display the values ​​of related multiple properties in Bitrix via GetList. For example PROPERTY_vvv.NAME is a multiple property (multiple values). On output:

$arFields["PROPERTY_VVV_NAME"]

only the first value is output, not the array.
The code:
$arSelect = array(
"ID",
"NAME",
"IBLOCK_ID",
"PROPERTY_*",
"PROPERTY_actors.NAME",
);
$arFilter = array("IBLOCK_ID" => $arParams["IBLOCK_ID"], "ID" => $id);
$rsElement = CIBlockElement::GetList(Array(), $arFilter, false, Array("nPageSize" => 1), $arSelect);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
likenoother, 2017-06-08
@Diversia

how do you work further with $rsElement ? As far as I remember, there the values ​​of the multiple field will be separate elements of the returned result
upd: Apparently it is:
GetList

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question