Answer the question
In order to leave comments, you need to log in
How to get the list of sections in CIBlockElement::getList?
I need to get a list of infoblock elements (by a certain filter, CIBlockElement::getList()) with a list of all sections that each element belongs to. The "IBLOCK_SECTION_ID" parameter returns only one section. How can i do this?
Answer the question
In order to leave comments, you need to log in
If I understood you correctly, then this can be obtained by calling a separate CIblockSection::GetElementGroups() method, passing it an array of element IDs for which sections should be selected. Documentation - https://dev.1c-bitrix.ru/api_help/iblock/classes/c...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question