A
A
Andrew2019-11-16 17:42:51
1C-Bitrix
Andrew, 2019-11-16 17:42:51

How to display infoblock elements with a specific property value?

Good afternoon.
there is an infoblock in which each of the elements has a type property. with different meanings. How to display those with, for example, property value = Type 1.
You need to make blocks on the site in each of which will display only certain types.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Gritsuk, 2019-11-16
@Batyabest

FIILTER_NAME parameter https://dev.1c-bitrix.ru/user_help/components/cont...
Before connecting a component, you need to declare a global variable. In it, specify an array with a filter in the format used in CIblockElement::GetList https://dev.1c-bitrix.ru/api_help/iblock/classes/c...
After that, the name of this variable must be passed to the component parameters

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question