P
P
photosho2021-04-19 13:39:05
1C-Bitrix
photosho, 2021-04-19 13:39:05

How to filter elements by multiple property "binding to elements"?

The infoblock has the "Binding to elements" property, multiple (PROPERTY_ELEMENTS). How can I set up a filter to get infoblock elements that contain a certain value of this property? Not exactly coincidentally, because it's a plural property.

'PROPERTY_ELEMENTS' => $value

That doesn't work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IgorVader, 2021-04-19
@IgorVader

$arFilter = array("PROPERTY_ELEMENTS" => "A%", array(..<here pairs "field" => "filter">...), "IBLOCK_ID" => $IBLOCK_ID);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question