Answer the question
In order to leave comments, you need to log in
Request for all elements of a section in Bitrix?
It is necessary to pull out elements from the section and all its subsections by request and perform actions with them.
Answer the question
In order to leave comments, you need to log in
You can get a list of mixed list of all sections and elements:
//CIBlockResult
CIBlockSection::GetMixedList(
array arOrder = Array("SORT"=>"ASC"),
array arFilter = Array(), // тут надо указать родителя
bool bIncCnt = false,
array arSelectedFields = false
);
If the elements are needed directly, why is the usual GetList with SECTION_ID and INCLUDE_SUBSECTIONS in arFilter not suitable?
https://dev.1c-bitrix.ru/api_help/iblock/classes/c...
Shl. Sorry, didn't see the discussion in the comments to the answer above, where the same solution is suggested.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question