A
A
Alexander2015-09-16 19:28:40
1C-Bitrix
Alexander, 2015-09-16 19:28:40

How to display elements from all infoblocks of the same type in Bitrix?

Tell me how to display all the elements of all infoblocks of the same type on the page?
In this case, only those elements whose property "XX" is equal to "YY"

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Novikov, 2015-09-16
@dmitriy_novikov

https://dev.1c-bitrix.ru/api_help/iblock/classes/c...

S
Sergey Ivchenko, 2015-10-23
@Serg89

CIBlockElement::GetList(
  Array(),
  Array(
    'IBLOCK_TYPE' => /*сюда вставить тип инфоблоков*/,
    'PROPERTY_XX' => 'YY' (для поиска значений свойства типа список 'PROPERTY_XX_VALUE' => 'YY')
  )
)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question