N
N
Nik9876543212020-07-31 10:31:44
1C-Bitrix
Nik987654321, 2020-07-31 10:31:44

How to get an array of id elements from FILTER_NAME Bitrix?

Good afternoon!
The smart filter component has the FILTER_NAME parameter, and the arrFilter variable in which the filter will store the generated filter array. Only the filtered array of element IDs is needed. Is it possible to pull this from a variable?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2020-07-31
@Nik987654321

No, you can't, because arrFilter will contain exactly the filter, not the element IDs. But you can use this filter in CIBlockElement::GetList to get the ID of all elements matching this filter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question